Details

Time bar (total: 4.8s)

sample35.0ms

Algorithm
intervals
Results
15.0ms285×body80valid
4.0ms87×body80nan

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03818
17918
213618
316118
417318
517718
617718

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 18.2b

localize115.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 4.0 a) c))
1.9b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
20.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
pow1 add-cube-cbrt sqrt-prod
add-exp-log sqrt-div add-cbrt-cube
flip3-- flip--
rem-sqrt-square sqrt-pow1 pow1/2 sum-log distribute-lft-out
+-commutative neg-sub0 associate-+l- sub-neg distribute-rgt-neg-in flip3-+ diff-log neg-log flip-+
Counts
4 → 57
Calls
4 calls:
3.0ms
(- (* b b) (* (* 4.0 a) c))
16.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series264.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(- (* b b) (* (* 4.0 a) c))
79.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
67.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify120.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 3 (114.0ms)

IterNodesCost
0236533
1919501
23961487
35001484

prune274.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 8.2b

localize115.0ms

Local error

Found 4 expressions with local error:

12.2b
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
20.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
sqrt-prod
add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div
add-exp-log flip3-- add-cbrt-cube flip--
rem-sqrt-square sqrt-pow1 pow1/2
diff-log
associate--l- neg-sub0 sub-neg neg-log difference-of-squares
Counts
4 → 60
Calls
4 calls:
6.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series291.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify106.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (99.0ms)

IterNodesCost
0225725
1835631
23414609
35001589

prune320.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 8.2b

localize120.0ms

Local error

Found 4 expressions with local error:

6.1b
(- (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
20.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.2b
(cbrt (- (* b b) (* (* 4.0 a) c)))
21.2b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
add-cube-cbrt *-un-lft-identity
cbrt-prod
pow1
add-exp-log cbrt-div flip3-- add-cbrt-cube flip--
sqrt-prod
pow1/3 sqrt-div diff-log
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 pow1/2 neg-log
Counts
4 → 55
Calls
4 calls:
6.0ms
(- (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
2.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
2.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

series349.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(- (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
95.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
95.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify44.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0363835
11402760
25001731

prune366.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 8.2b

localize127.0ms

Local error

Found 4 expressions with local error:

21.2b
(cbrt (- (* b b) (* (* 4.0 a) c)))
21.2b
(cbrt (- (* b b) (* (* 4.0 a) c)))
21.2b
(cbrt (- (* b b) (* (* 4.0 a) c)))
21.2b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt cbrt-div *-un-lft-identity
pow1 add-exp-log flip3-- pow1/3 add-cbrt-cube flip-- add-log-exp
Counts
4 → 52
Calls
4 calls:
2.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
2.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
2.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
2.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

series394.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
105.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
96.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
98.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify69.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0153632
1509588
22023580
35001580

prune418.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 8.2b

regimes160.0ms

Accuracy

89.9% (1.2b remaining)

Error of 8.8b against oracle of 7.6b and baseline of 19.5b

bsearch180.0ms

Steps
ItersRangePoint
8
2.1878188410446244e+107
3.8616146939177386e+111
7.989761210864844e+108
10
-2.1502820188078274e+175
-2.227381996671495e+165
-2.2572095326645574e+165

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05159
15159

end0.0ms

sample859.0ms

Algorithm
intervals
Results
459.0ms8712×body80valid
144.0ms2998×body80nan