Details

Time bar (total: 5.0s)

sample40.0ms

Algorithm
intervals
Results
19.0ms281×body80valid
4.0ms87×body80nan

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03918
18018
214318
317718
418918
519318
619318

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 20.5b

Counts
2 → 1

localize121.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 4.0 a) c))
1.0b
(- (* b b) (* (* 4.0 a) c))
23.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.2b
(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)))

series248.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(- (* b b) (* (* 4.0 a) c))
45.0ms
(- (* b b) (* (* 4.0 a) c))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
77.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify95.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (88.0ms)

IterNodesCost
0170540
1665506
22968498
35001488

prune278.0ms

Filtered
78 candidates to 62 candidates (79.5%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New73578
Fresh000
Picked101
Done000
Total74579

Merged error: 10.9b

Counts
79 → 5

localize124.0ms

Local error

Found 4 expressions with local error:

8.5b
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
23.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
13×add-cube-cbrt *-un-lft-identity
10×fma-neg prod-diff
sqrt-prod
add-log-exp
pow1
distribute-lft-neg-in distribute-rgt-neg-in sqrt-div
add-exp-log expm1-log1p-u flip3-- add-cbrt-cube flip-- log1p-expm1-u
rem-sqrt-square sqrt-pow1 pow1/2
neg-mul-1 diff-log
associate--l- neg-sub0 sub-neg neg-log difference-of-squares
Counts
4 → 88
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)))
5.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series303.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))))))
76.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
76.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify178.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
02831391
19981121
247231013
350011013

prune387.0ms

Filtered
100 candidates to 83 candidates (83.0%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New973100
Fresh224
Picked011
Done000
Total996105

Merged error: 10.9b

Counts
105 → 6

localize123.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 4.0 a) c))
5.2b
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (/ (* a c) b)) b)))
6.6b
(/ (* a c) b)
23.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite33.0ms

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

series321.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(- (* b b) (* (* 4.0 a) c))
183.0ms
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (/ (* a c) b)) b)))
19.0ms
(/ (* a c) b)
75.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify57.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0418685
12079598
25001591

prune316.0ms

Filtered
97 candidates to 70 candidates (72.2%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New94397
Fresh044
Picked101
Done011
Total958103

Merged error: 10.2b

Counts
103 → 8

localize131.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 4.0 a) c))
3.8b
(* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))
5.2b
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))) b)))
23.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt
33×times-frac
30×add-exp-log *-un-lft-identity
23×add-cbrt-cube
22×add-cube-cbrt associate-*r*
11×cbrt-prod
cbrt-undiv div-exp prod-exp cbrt-unprod
pow1 associate-*l*
add-log-exp unswap-sqr
associate-/r*
expm1-log1p-u log1p-expm1-u distribute-lft-out
sqrt-prod div-inv
flip3-- distribute-rgt-neg-in sqrt-div associate-/r/ flip--
frac-times sub-neg rem-sqrt-square frac-2neg sqrt-pow1 flip3-+ pow1/2 fma-neg diff-log associate-*r/ prod-diff pow-prod-down associate-*l/ clear-num *-commutative flip-+ associate-/l*
Counts
4 → 123
Calls
4 calls:
4.0ms
(- (* b b) (* (* 4.0 a) c))
15.0ms
(* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))
17.0ms
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))) b)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series403.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(- (* b b) (* (* 4.0 a) c))
50.0ms
(* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))
227.0ms
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))) b)))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify91.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
07141403
136361218
250031165

prune499.0ms

Filtered
135 candidates to 99 candidates (73.3%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1323135
Fresh066
Picked101
Done011
Total13310143

Merged error: 10.2b

Counts
143 → 10

regimes218.0ms

Accuracy

88.8% (1.4b remaining)

Error of 8.4b against oracle of 7.0b and baseline of 19.4b

bsearch121.0ms

Steps
ItersRangePoint
7
6.184155830638016e+27
1.3306260697673677e+30
1.2919983862558445e+30
4
-3.05654141344836e+116
-2.129980745276144e+116
-2.6801261420033977e+116

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05659
15659

end0.0ms

sample837.0ms

Algorithm
intervals
Results
454.0ms8744×body80valid
137.0ms2910×body80nan