Details

Time bar (total: 4.3s)

sample36.0ms

Algorithm
intervals
Results
14.0ms274×body80valid
4.0ms97×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: 19.4b

localize82.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.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite37.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:
7.0ms
(- (* b b) (* (* 4.0 a) c))
7.0ms
(- (* b b) (* (* 4.0 a) c))
8.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
13.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series204.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(- (* b b) (* (* 4.0 a) c))
42.0ms
(- (* b b) (* (* 4.0 a) c))
60.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
65.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify82.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (74.0ms)

IterNodesCost
0149476
1576446
22486444
35001440

prune250.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 6.8b

localize110.0ms

Local error

Found 4 expressions with local error:

8.2b
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
22.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite40.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:
10.0ms
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
11.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
8.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
8.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series254.0ms

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

prune304.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 6.8b

localize84.0ms

Local error

Found 4 expressions with local error:

10.3b
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
22.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite41.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:
12.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
11.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
8.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
8.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series252.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
61.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
59.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
63.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify107.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (100.0ms)

IterNodesCost
0225725
1835631
23414609
35001589

prune301.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 6.8b

localize86.0ms

Local error

Found 4 expressions with local error:

8.3b
(- (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
22.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.1b
(cbrt (- (* b b) (* (* 4.0 a) c)))
23.1b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite35.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:
11.0ms
(- (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
11.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
5.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
6.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

series313.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(- (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
59.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
85.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
87.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify45.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0363835
11402760
25001731

prune328.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 6.8b

regimes154.0ms

Accuracy

92.2% (0.9b remaining)

Error of 8.5b against oracle of 7.5b and baseline of 19.7b

bsearch171.0ms

Steps
ItersRangePoint
10
8.043557394408689e+68
7.456819745307919e+79
7.351468977489713e+79
8
-1.6689308349593681e+136
-9.575288709361475e+132
-1.2495719643022808e+135

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04958
14958

end0.0ms

sample883.0ms

Algorithm
intervals
Results
429.0ms8741×body80valid
128.0ms2993×body80nan