Details

Time bar (total: 4.7s)

sample40.0ms

Algorithm
intervals
Results
15.0ms278×body80valid
9.0ms103×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: 15.8b

localize114.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (* b b) (* (* 4.0 a) c))
1.8b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
20.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
10×*-un-lft-identity add-log-exp
sqrt-prod
pow1 add-cube-cbrt
add-exp-log flip3-- sqrt-div add-cbrt-cube flip--
diff-log
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 distribute-rgt-neg-in neg-log
Counts
4 → 60
Calls
4 calls:
4.0ms
(- (* b b) (* (* 4.0 a) c))
8.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)))

series266.0ms

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

simplify123.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (116.0ms)

IterNodesCost
0227581
1878551
23814541
35002538

prune293.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 7.1b

localize120.0ms

Local error

Found 4 expressions with local error:

15.0b
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
20.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite17.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:
4.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)))

series296.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
68.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify112.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (104.0ms)

IterNodesCost
0225725
1835631
23414609
35001589

prune339.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 7.1b

localize118.0ms

Local error

Found 4 expressions with local error:

8.1b
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
20.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite24.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))))))
10.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)))

series294.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))))))
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify112.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (105.0ms)

IterNodesCost
0232680
1883574
23567559
35001555

prune316.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 7.1b

localize124.0ms

Local error

Found 4 expressions with local error:

4.4b
(+ (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
20.4b
(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)))

rewrite17.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 add-cbrt-cube
flip3-- sqrt-prod flip--
pow1/3 sqrt-div sum-log
+-commutative neg-sub0 associate-+l- rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 54
Calls
4 calls:
4.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)))
4.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

series357.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(+ (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
99.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
99.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify46.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0368805
11471730
25001697

prune376.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 7.1b

regimes183.0ms

Accuracy

91.5% (1.1b remaining)

Error of 8.8b against oracle of 7.7b and baseline of 20.3b

bsearch93.0ms

Steps
ItersRangePoint
6
2.6216430800597077e+98
1.6496650416179864e+99
4.888690460859863e+98
3
-2.4188752133425037e+101
-1.756824163423226e+101
-2.377497022722549e+101

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04858
14858

end0.0ms

sample835.0ms

Algorithm
intervals
Results
447.0ms8711×body80valid
143.0ms2872×body80nan