Details

Time bar (total: 4.6s)

sample34.0ms

Algorithm
intervals
Results
14.0ms288×body80valid
5.0ms90×body80nan

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03618
16718
212318
316018
417518
517718
617718

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 20.1b

localize118.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (* b b) (* (* 4.0 a) c))
1.2b
(- (* b b) (* (* 4.0 a) c))
22.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log expm1-log1p-u flip3-- sqrt-div add-cbrt-cube flip-- log1p-expm1-u
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 fma-neg diff-log prod-diff
Counts
4 → 66
Calls
4 calls:
4.0ms
(- (* b b) (* (* 4.0 a) c))
4.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)))

series226.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(- (* b b) (* (* 4.0 a) c))
46.0ms
(- (* b b) (* (* 4.0 a) c))
66.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify96.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (85.0ms)

IterNodesCost
0170540
1665506
22968498
35001488

prune319.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 6.9b

localize118.0ms

Local error

Found 4 expressions with local error:

22.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity sqrt-div
add-exp-log expm1-log1p-u rem-sqrt-square flip3-- sqrt-pow1 pow1/2 add-cbrt-cube flip-- log1p-expm1-u add-log-exp
Counts
4 → 68
Calls
4 calls:
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)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series275.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
65.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify71.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 3 (64.0ms)

IterNodesCost
0139592
1510568
22129564
35001556

prune394.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 6.9b

localize117.0ms

Local error

Found 4 expressions with local error:

22.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity sqrt-div
add-exp-log expm1-log1p-u rem-sqrt-square flip3-- sqrt-pow1 pow1/2 add-cbrt-cube flip-- log1p-expm1-u add-log-exp
Counts
4 → 68
Calls
4 calls:
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)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series282.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 3 (65.0ms)

IterNodesCost
0139588
1510568
22129564
35001556

prune383.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 6.9b

localize113.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (* b b) (* (* 4.0 a) c))
3.2b
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (/ (* a c) b)))))
4.5b
(/ (* a c) b)
22.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity
14×add-exp-log add-sqr-sqrt add-cbrt-cube
add-cube-cbrt times-frac associate-/r*
add-log-exp
pow1
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u distribute-lft-out--
flip3-- sqrt-prod flip--
distribute-rgt-neg-in frac-2neg sqrt-div prod-exp clear-num associate-/r/ cbrt-unprod div-inv associate-/l* difference-of-squares
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 fma-neg diff-log prod-diff
Counts
4 → 87
Calls
4 calls:
4.0ms
(- (* b b) (* (* 4.0 a) c))
9.0ms
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (/ (* a c) b)))))
10.0ms
(/ (* a c) b)
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series303.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(- (* b b) (* (* 4.0 a) c))
173.0ms
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (/ (* a c) b)))))
23.0ms
(/ (* a c) b)
65.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify57.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0423713
12101628
25002621

prune350.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 6.3b

regimes197.0ms

Accuracy

90.7% (1.2b remaining)

Error of 7.7b against oracle of 6.5b and baseline of 19.7b

bsearch202.0ms

Steps
ItersRangePoint
9
8.465625442272063e+58
8.825425083170634e+65
6.991427322965568e+65
10
-6.135068293664718e+160
-1.4913639427070542e+150
-1.3383981558932767e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05972
15972

end0.0ms

sample812.0ms

Algorithm
intervals
Results
436.0ms8727×body80valid
135.0ms2980×body80nan