Details

Time bar (total: 5.4s)

analyze476.0ms

Algorithm
search

sample50.0ms

Algorithm
intervals
Results
12.0ms37×body2560valid
9.0ms32×body1280valid
9.0ms151×body80valid
4.0ms18×body640valid
2.0ms15×body320valid
1.0msbody5120valid
1.0ms18×body80nan
1.0ms14×body80invalid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.8b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
0.6b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
0.6b
(- (* b b) (* (* 3.0 a) c))
18.9b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
10×add-log-exp
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
distribute-lft-out
pow1 times-frac associate-/l*
distribute-rgt-neg-in sqrt-prod
cbrt-undiv neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div div-exp sum-log flip-- flip-+ associate-/l/
+-commutative sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log div-sub neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 70
Calls
4 calls:
12.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
3.0ms
(- (* b b) (* (* 3.0 a) c))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series70.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
16.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
9.0ms
(- (* b b) (* (* 3.0 a) c))
15.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify49.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0391774
11518684
25001674

prune169.0ms

Filtered
63 candidates to 82 candidates (-30.2%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New701282
Fresh000
Picked101
Done000
Total711283

Merged error: 3.6b

Counts
83 → 12

localize15.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
3.1b
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
7.4b
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
18.9b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
84×add-sqr-sqrt
83×*-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
22×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
14×sqrt-prod
11×distribute-rgt-neg-in
associate-/r* add-log-exp
cbrt-undiv div-exp
associate-/r/
pow1 flip3-- flip--
div-inv
associate-/l/
frac-2neg sqrt-div diff-log prod-exp clear-num cbrt-unprod
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 154
Calls
4 calls:
8.0ms
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
18.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
12.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series135.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
44.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
61.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
15.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify116.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
06442693
131432447
250012434

prune297.0ms

Filtered
111 candidates to 166 candidates (-49.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1615166
Fresh5611
Picked101
Done000
Total16711178

Merged error: 3.5b

Counts
178 → 11

localize16.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
3.1b
(/ (/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) a)
7.4b
(/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
18.9b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
54×add-exp-log add-cbrt-cube
26×times-frac
22×add-sqr-sqrt
21×*-un-lft-identity
19×cbrt-undiv div-exp
18×prod-exp cbrt-unprod
17×add-cube-cbrt
10×associate-*r/ associate-/r/
associate-/l* add-log-exp
flip3-- flip--
div-inv
pow1
associate-/r* sqrt-prod
frac-2neg sqrt-div diff-log clear-num distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 sub-neg rem-sqrt-square distribute-rgt-neg-in sqrt-pow1 pow1/2 neg-log associate-/l/
Counts
4 → 116
Calls
4 calls:
8.0ms
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
18.0ms
(/ (/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) a)
14.0ms
(/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series138.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
46.0ms
(/ (/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) a)
60.0ms
(/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
15.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify127.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (107.0ms)

IterNodesCost
06972051
144781590
250021549

prune194.0ms

Filtered
86 candidates to 128 candidates (-48.8%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1271128
Fresh1910
Picked011
Done000
Total12811139

Merged error: 3.5b

Counts
139 → 11

localize17.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
0.7b
(/ 3.0 (/ 3.0 (* a c)))
12.8b
(* (/ 3.0 (/ 3.0 (* a c))) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))
18.9b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
221×times-frac
165×add-sqr-sqrt
138×*-un-lft-identity
103×add-exp-log
96×add-cube-cbrt
85×associate-*r*
67×add-cbrt-cube
54×div-exp
32×cbrt-undiv
26×associate-*l* prod-exp
20×distribute-lft-out-- difference-of-squares
16×cbrt-unprod
13×sqrt-prod div-inv
10×distribute-rgt-neg-in
associate-/r/ add-log-exp unswap-sqr
pow1 associate-/r*
flip3-- flip--
rec-exp 1-exp
associate-/l*
sqrt-div diff-log
associate--l- neg-sub0 frac-times sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 associate-*r/ pow-prod-down neg-log associate-*l/ clear-num *-commutative
Counts
4 → 244
Calls
4 calls:
11.0ms
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
6.0ms
(/ 3.0 (/ 3.0 (* a c)))
58.0ms
(* (/ 3.0 (/ 3.0 (* a c))) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series83.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
7.0ms
(/ 3.0 (/ 3.0 (* a c)))
45.0ms
(* (/ 3.0 (/ 3.0 (* a c))) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))
15.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify59.0ms

Algorithm
egg-herbie
Counts
256 → 256
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
013893350
150022680

prune386.0ms

Filtered
163 candidates to 256 candidates (-57.1%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New2551256
Fresh189
Picked011
Done011
Total25611267

Merged error: 3.5b

Counts
267 → 11

regimes476.0ms

Accuracy

83.1% (4.6b remaining)

Error of 10.1b against oracle of 5.5b and baseline of 32.7b

bsearch508.0ms

Steps
ItersRangePoint
6
1.87420319089864e-40
1.0648719733408399e-39
5.8608602365427546e-40
10
-4.8908751238470227e+154
-7.181262992992344e+144
-1.0259403690672002e+146

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03416
13416

end0.0ms

analyze472.0ms

Algorithm
search

sample1.3s

Algorithm
intervals
Results
362.0ms1099×body2560valid
291.0ms5125×body80valid
236.0ms887×body1280valid
95.0ms457×body640valid
46.0ms110×body5120valid
36.0ms218×body320valid
35.0ms658×body80nan
21.0ms370×body80invalid
11.0ms104×body160valid

Profiling

Loading profile data...