Details

Time bar (total: 4.3s)

sample285.0ms

Algorithm
intervals
Results
8.0ms194×body80valid
7.0ms35×body2560valid
5.0ms33×body1280valid
3.0ms97×body80nan
1.0msbody640valid
1.0msbody320valid
0.0msbody5120valid
0.0msbody160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0157
1237
2307
3327
4347
5347

prune4.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

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.9b
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
1.0b
(- (* b_2 b_2) (* a c))
24.1b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
19×add-sqr-sqrt
18×add-cube-cbrt
15×times-frac
10×fma-def distribute-lft-out add-log-exp
distribute-rgt-neg-in
add-exp-log add-cbrt-cube
pow1 associate-/l*
expm1-log1p-u log1p-expm1-u
distribute-lft-neg-in associate-/r* sqrt-prod
neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div sum-log flip-- flip-+ associate-/l/
cbrt-undiv +-commutative neg-mul-1 sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 fma-neg diff-log div-sub div-exp prod-diff neg-log clear-num div-inv
Counts
4 → 100
Calls
4 calls:
23.0ms
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
8.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(- (* b_2 b_2) (* a c))
7.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series273.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
69.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
42.0ms
(- (* b_2 b_2) (* a c))
70.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify50.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0389850
11366779
25001753

prune306.0ms

Filtered
112 candidates to 88 candidates (78.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1057112
Fresh000
Picked011
Done000
Total1058113

Merged error: 5.8b

Counts
113 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity
24×add-sqr-sqrt
16×add-cube-cbrt
13×add-exp-log associate-*r*
11×times-frac
10×fma-def add-log-exp
add-cbrt-cube
pow1
distribute-rgt-neg-in associate-*l*
expm1-log1p-u prod-exp log1p-expm1-u distribute-lft-out
distribute-lft-neg-in flip3-+ sqrt-prod flip-+ unswap-sqr
frac-times flip3-- sqrt-div div-exp associate-*l/ sum-log flip-- cbrt-unprod
cbrt-undiv +-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg rem-sqrt-square rec-exp sqrt-pow1 pow1/2 fma-neg diff-log 1-exp associate-*r/ prod-diff pow-prod-down neg-log un-div-inv *-commutative div-inv
Counts
4 → 104
Calls
4 calls:
15.0ms
(* (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
8.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(- (* b_2 b_2) (* a c))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series254.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(* (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
66.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
36.0ms
(- (* b_2 b_2) (* a c))
59.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify63.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0479897
12066778
25003729

prune298.0ms

Filtered
116 candidates to 90 candidates (77.6%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1124116
Fresh426
Picked101
Done011
Total1177124

Merged error: 5.8b

Counts
124 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity
24×add-sqr-sqrt
16×add-cube-cbrt
13×add-exp-log associate-*l*
11×times-frac
10×fma-def add-log-exp
add-cbrt-cube
pow1
distribute-rgt-neg-in associate-*r*
expm1-log1p-u prod-exp log1p-expm1-u distribute-lft-out
distribute-lft-neg-in flip3-+ sqrt-prod flip-+ unswap-sqr
frac-times flip3-- sqrt-div associate-*r/ div-exp sum-log flip-- cbrt-unprod
cbrt-undiv +-commutative neg-sub0 distribute-rgt-in associate-+l- neg-mul-1 sub-neg rem-sqrt-square rec-exp distribute-lft-in sqrt-pow1 pow1/2 fma-neg diff-log 1-exp prod-diff pow-prod-down neg-log associate-*l/ *-commutative div-inv
Counts
4 → 105
Calls
4 calls:
14.0ms
(* (/ 1 a) (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
8.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(- (* b_2 b_2) (* a c))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series294.0ms

Counts
4 → 12
Calls
4 calls:
126.0ms
(* (/ 1 a) (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
72.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
32.0ms
(- (* b_2 b_2) (* a c))
63.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify58.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0517885
12397770
25003745

prune298.0ms

Filtered
117 candidates to 91 candidates (77.8%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1152117
Fresh145
Picked011
Done011
Total1168124

Merged error: 5.7b

Counts
124 → 8

localize17.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b_2 b_2) (* a c))
11.6b
(+ (- b_2) (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c))))))
24.1b
(sqrt (- (* b_2 b_2) (* a c)))
24.1b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
10×fma-def add-log-exp
add-cube-cbrt *-un-lft-identity
pow1 sqrt-prod
add-exp-log expm1-log1p-u sqrt-div add-cbrt-cube log1p-expm1-u
distribute-lft-neg-in flip3-- distribute-rgt-neg-in flip--
rem-sqrt-square sqrt-pow1 pow1/2 sum-log
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg flip3-+ fma-neg diff-log prod-diff neg-log flip-+
Counts
4 → 75
Calls
4 calls:
4.0ms
(- (* b_2 b_2) (* a c))
5.0ms
(+ (- b_2) (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c))))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))
5.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series227.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- (* b_2 b_2) (* a c))
73.0ms
(+ (- b_2) (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c))))))
63.0ms
(sqrt (- (* b_2 b_2) (* a c)))
58.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify104.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 3 (96.0ms)

IterNodesCost
0268620
1998515
23876499
35001497

prune297.0ms

Filtered
87 candidates to 75 candidates (86.2%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New87087
Fresh055
Picked011
Done022
Total87895

Merged error: 5.7b

Counts
95 → 8

regimes250.0ms

Accuracy

85.5% (4.2b remaining)

Error of 9.6b against oracle of 5.5b and baseline of 34.2b

bsearch52.0ms

Steps
ItersRangePoint
1
1.5436983288905166e-76
1.715917488860867e-76
1.5867531188831042e-76
10
-3.0529494422842112e+156
-1.5054982703030158e+138
-2.7863758169125638e+138

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03014
13014

end0.0ms

sample975.0ms

Algorithm
intervals
Results
216.0ms1105×body2560valid
181.0ms5783×body80valid
139.0ms898×body1280valid
88.0ms2921×body80nan
56.0ms460×body640valid
24.0ms105×body5120valid
22.0ms226×body320valid
7.0ms124×body160valid