Details

Time bar (total: 5.8s)

sample67.0ms

Algorithm
intervals
Results
40.0ms280×body80valid
11.0ms100×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: 20.3b

localize116.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* b b) (* (* 4.0 a) c))
1.4b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
24.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))

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

series265.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))))
66.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify125.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 3 (118.0ms)

IterNodesCost
0236533
1919501
23961487
35001484

prune278.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 8.1b

localize115.0ms

Local error

Found 4 expressions with local error:

9.7b
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
24.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite25.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))))))
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)))

series293.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)))
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
67.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

prune331.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 8.0b

localize115.0ms

Local error

Found 4 expressions with local error:

10.4b
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
24.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.2b
(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:
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:
76.0ms
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify114.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (103.0ms)

IterNodesCost
0232683
1883574
23567559
35001555

prune299.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 8.0b

localize116.0ms

Local error

Found 4 expressions with local error:

24.2b
(sqrt (* (* (cbrt (- (* b b) (* (* 4.0 a) c))) (cbrt (- (* b b) (* (* 4.0 a) c)))) (cbrt (- (* b b) (* (* 4.0 a) c)))))
25.0b
(cbrt (- (* b b) (* (* 4.0 a) c)))
25.0b
(cbrt (- (* b b) (* (* 4.0 a) c)))
25.0b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite53.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:
36.0ms
(sqrt (* (* (cbrt (- (* b b) (* (* 4.0 a) c))) (cbrt (- (* b b) (* (* 4.0 a) c)))) (cbrt (- (* b b) (* (* 4.0 a) c)))))
7.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)))

series364.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)))
96.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
100.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify178.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 3 (162.0ms)

IterNodesCost
03481856
19131805
241361785
350021704

prune391.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 8.0b

regimes183.0ms

Accuracy

93.8% (0.8b remaining)

Error of 8.4b against oracle of 7.6b and baseline of 20.2b

bsearch185.0ms

Steps
ItersRangePoint
7
6.714891876596302e+121
1.686395921989292e+123
1.4702486099407425e+123
8
-5.9769678902734345e+158
-1.9689745148643392e+154
-2.0079720992890853e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05059
15059

end0.0ms

sample1.8s

Algorithm
intervals
Results
1.1s8741×body80valid
342.0ms2931×body80nan