Details

Time bar (total: 5.1s)

sample34.0ms

Algorithm
intervals
Results
14.0ms269×body80valid
4.0ms89×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.1b

localize120.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* b b) (* (* 4.0 a) c))
0.8b
(- (* b b) (* (* 4.0 a) c))
20.8b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.8b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite14.0ms

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

series229.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(- (* b b) (* (* 4.0 a) c))
48.0ms
(- (* b b) (* (* 4.0 a) c))
66.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify78.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (73.0ms)

IterNodesCost
0149476
1576446
22486444
35001440

prune265.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 7.8b

localize122.0ms

Local error

Found 4 expressions with local error:

7.6b
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
20.8b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.8b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.8b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
sqrt-prod
add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div
add-exp-log add-cbrt-cube
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip--
sum-log
+-commutative neg-sub0 associate-+l- flip3-+ neg-log flip-+
Counts
4 → 58
Calls
4 calls:
5.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)))

series289.0ms

Counts
4 → 12
Calls
4 calls:
80.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)))
66.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify110.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (103.0ms)

IterNodesCost
0232680
1883574
23567559
35001555

prune337.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 7.8b

localize120.0ms

Local error

Found 4 expressions with local error:

20.8b
(sqrt (* (* (cbrt (- (* b b) (* (* 4.0 a) c))) (cbrt (- (* b b) (* (* 4.0 a) c)))) (cbrt (- (* b b) (* (* 4.0 a) c)))))
21.6b
(cbrt (- (* b b) (* (* 4.0 a) c)))
21.6b
(cbrt (- (* b b) (* (* 4.0 a) c)))
21.6b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
60×cbrt-div
30×flip3-- flip--
28×frac-times
26×sqrt-div
24×pow1
15×sqrt-pow1
14×associate-*l/
12×pow1/3
cbrt-prod pow-prod-up
associate-*r/
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-plus
pow-prod-down
add-exp-log add-cbrt-cube add-log-exp
pow-sqr
pow2
pow1/2 pow3 sqrt-prod
Counts
4 → 89
Calls
4 calls:
39.0ms
(sqrt (* (* (cbrt (- (* b b) (* (* 4.0 a) c))) (cbrt (- (* b b) (* (* 4.0 a) c)))) (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)))

series362.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(sqrt (* (* (cbrt (- (* b b) (* (* 4.0 a) c))) (cbrt (- (* b b) (* (* 4.0 a) c)))) (cbrt (- (* b b) (* (* 4.0 a) c)))))
96.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
95.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
99.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify179.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 3 (163.0ms)

IterNodesCost
03481862
19211805
241451785
350021704

prune453.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 7.8b

localize143.0ms

Local error

Found 4 expressions with local error:

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

rewrite11.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)))
3.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

series394.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
99.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
98.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
97.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify71.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0153632
1509588
22023580
35001580

prune444.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 7.8b

regimes235.0ms

Accuracy

87.7% (1.5b remaining)

Error of 9.4b against oracle of 7.9b and baseline of 20.2b

bsearch138.0ms

Steps
ItersRangePoint
4
1.4117953071395708e+85
2.422703580179915e+85
2.3866645776898725e+85
8
-6.6886088143369254e+38
-2.2615366197350152e+35
-6.6114837319571935e+38

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05679
15679

end0.0ms

sample847.0ms

Algorithm
intervals
Results
458.0ms8712×body80valid
131.0ms2791×body80nan