Details

Time bar (total: 3.8s)

sample56.0ms

Algorithm
intervals
Results
11.0ms35×body2560valid
11.0ms195×body80valid
9.0ms33×body1280valid
5.0ms97×body80nan
2.0msbody640valid
1.0msbody320valid
1.0msbody5120valid
0.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0229
1439
2839
31109
41189
51189

prune2.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: 33.0b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
0.9b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
1.0b
(- (* b b) (* (* 3.0 a) c))
24.1b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
10×*-commutative
prod-diff
associate-*l*
neg-sub0 associate-+l- flip3-- flip3-+ fma-neg sqrt-div associate-/r* flip-- flip-+ associate-/l/
+-commutative neg-mul-1 sub-neg fma-def frac-2neg pow1/2 div-sub clear-num div-inv
Counts
4 → 30
Calls
4 calls:
11.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
6.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
6.0ms
(- (* b b) (* (* 3.0 a) c))
6.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series293.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
77.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
46.0ms
(- (* b b) (* (* 3.0 a) c))
67.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify131.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0315330
11125302
24713290
35001290

prune110.0ms

Filtered
42 candidates to 30 candidates (71.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New33942
Fresh000
Picked101
Done000
Total34943

Merged error: 5.9b

Counts
43 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 3.0 a) c)
0.9b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
1.0b
(- (* b b) (* (* 3.0 a) c))
24.1b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
11×*-commutative
prod-diff
associate-*l*
flip3-- fma-neg sqrt-div flip--
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg fma-def flip3-+ pow1/2 flip-+
Counts
4 → 25
Calls
4 calls:
4.0ms
(* (* 3.0 a) c)
6.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
6.0ms
(- (* b b) (* (* 3.0 a) c))
6.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series212.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* 3.0 a) c)
78.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
46.0ms
(- (* b b) (* (* 3.0 a) c))
69.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify116.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 3 (112.0ms)

IterNodesCost
0223249
1828227
23445217
35003215

prune88.0ms

Filtered
37 candidates to 22 candidates (59.5%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New35237
Fresh268
Picked011
Done000
Total37946

Merged error: 5.8b

Counts
46 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 1 (* 3.0 a))
0.9b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
1.0b
(- (* b b) (* (* 3.0 a) c))
24.1b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
10×*-commutative
prod-diff
associate-*l*
flip3-- fma-neg sqrt-div associate-/r* flip--
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg fma-def frac-2neg flip3-+ pow1/2 clear-num flip-+ div-inv inv-pow
Counts
4 → 28
Calls
4 calls:
3.0ms
(/ 1 (* 3.0 a))
6.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
6.0ms
(- (* b b) (* (* 3.0 a) c))
6.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series243.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(/ 1 (* 3.0 a))
103.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
52.0ms
(- (* b b) (* (* 3.0 a) c))
72.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify138.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 3 (134.0ms)

IterNodesCost
0236252
1888230
24153220
35001218

prune94.0ms

Filtered
40 candidates to 25 candidates (62.5%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New38240
Fresh077
Picked011
Done011
Total381149

Merged error: 5.8b

Counts
49 → 11

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (/ 1 3.0) a)
0.9b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
1.0b
(- (* b b) (* (* 3.0 a) c))
24.1b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
prod-diff
associate-*l*
associate-/l/
flip3-- frac-2neg fma-neg sqrt-div clear-num flip-- div-inv
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg fma-def flip3-+ pow1/2 flip-+ associate-/l*
Counts
4 → 29
Calls
4 calls:
3.0ms
(/ (/ 1 3.0) a)
6.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
6.0ms
(- (* b b) (* (* 3.0 a) c))
6.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series211.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(/ (/ 1 3.0) a)
78.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
47.0ms
(- (* b b) (* (* 3.0 a) c))
69.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify150.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 3 (145.0ms)

IterNodesCost
0242256
1924232
24482222
35001221

prune86.0ms

Filtered
41 candidates to 23 candidates (56.1%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New41041
Fresh088
Picked011
Done022
Total411152

Merged error: 5.8b

Counts
52 → 11

regimes423.0ms

Accuracy

88.1% (3.4b remaining)

Error of 9.0b against oracle of 5.5b and baseline of 34.3b

bsearch162.0ms

Steps
ItersRangePoint
8
3.9532145147442873e+71
1.0218572913399418e+74
3.3124313189215764e+72
7
2.4861480825170347e-112
4.9053706167200877e-110
2.548256466828356e-112
10
-3.0529494422842112e+156
-1.5054982703030158e+138
-1.3603160824255169e+144

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04729
14929
24929

end0.0ms

sample1.2s

Algorithm
intervals
Results
264.0ms1104×body2560valid
233.0ms5787×body80valid
170.0ms898×body1280valid
107.0ms2923×body80nan
66.0ms458×body640valid
29.0ms105×body5120valid
24.0ms226×body320valid
9.0ms123×body160valid