Details

Time bar (total: 4.8s)

sample40.0ms

Algorithm
intervals
Results
18.0ms280×body80valid
5.0ms104×body80nan

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03518
16618
211618
314418
415918
516118
616118

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 18.3b

localize117.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* b b) (* (* 4.0 a) c))
1.3b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
20.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.9b
(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)))

series273.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(- (* b b) (* (* 4.0 a) c))
80.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
76.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify122.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (115.0ms)

IterNodesCost
0227581
1878551
23814541
35002538

prune283.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 8.2b

localize123.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))))))
20.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.9b
(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)))

series302.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
68.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
75.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify114.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (107.0ms)

IterNodesCost
0232680
1883574
23567559
35001555

prune317.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 8.2b

localize120.0ms

Local error

Found 4 expressions with local error:

11.5b
(+ (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
20.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.7b
(cbrt (- (* b b) (* (* 4.0 a) c)))
21.7b
(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:
5.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)))

series351.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))))))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
96.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
97.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify45.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0368805
11471730
25001697

prune368.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 8.2b

localize144.0ms

Local error

Found 4 expressions with local error:

20.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.7b
(cbrt (- (* b b) (* (* 4.0 a) c)))
21.7b
(cbrt (- (* b b) (* (* 4.0 a) c)))
21.7b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite16.0ms

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

series366.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
98.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
96.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
98.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify79.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
0202609
1639571
22437564
35001562

prune378.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 8.2b

regimes181.0ms

Accuracy

91.9% (1.0b remaining)

Error of 8.7b against oracle of 7.7b and baseline of 19.6b

bsearch173.0ms

Steps
ItersRangePoint
9
1.846147638884188e+104
1.7844061428947563e+109
2.8242228756588895e+106
8
-5.17073721832495e+150
-9.039588443684179e+147
-4.05734525598461e+150

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05259
15259

end0.0ms

sample835.0ms

Algorithm
intervals
Results
444.0ms8759×body80valid
145.0ms2998×body80nan