Details

Time bar (total: 4.0s)

sample44.0ms

Algorithm
intervals
Results
12.0ms40×body2560valid
8.0ms198×body80valid
4.0ms22×body1280valid
4.0ms103×body80nan
3.0ms17×body640valid
1.0msbody5120valid
0.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0259
1469
2869
31139
41219
51219

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: 34.2b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
0.2b
(- (* b b) (* 4.0 (* a c)))
1.5b
(+ (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
23.0b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
10×*-commutative
prod-diff
associate-*r*
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:
7.0ms
(/ (+ (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
5.0ms
(- (* b b) (* 4.0 (* a c)))
5.0ms
(+ (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
5.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series299.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(/ (+ (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
43.0ms
(- (* b b) (* 4.0 (* a c)))
78.0ms
(+ (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
69.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify136.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0318329
11134301
24750289
35001289

prune107.0ms

Filtered
42 candidates to 30 candidates (71.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New35742
Fresh000
Picked101
Done000
Total36743

Merged error: 6.1b

Counts
43 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (/ 1 (* 2.0 a)))
0.2b
(- (* b b) (* 4.0 (* a c)))
1.5b
(+ (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
23.0b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
13×*-commutative
10×frac-times
prod-diff
flip3-+ flip-+
associate-/r*
associate-*r/ associate-*r*
clear-num
frac-2neg
flip3-- fma-neg sqrt-div associate-*l/ un-div-inv flip--
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg fma-def pow1/2 div-inv
Counts
4 → 43
Calls
4 calls:
9.0ms
(* (+ (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (/ 1 (* 2.0 a)))
5.0ms
(- (* b b) (* 4.0 (* a c)))
5.0ms
(+ (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
5.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series297.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(* (+ (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (/ 1 (* 2.0 a)))
42.0ms
(- (* b b) (* 4.0 (* a c)))
78.0ms
(+ (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
70.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify44.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0357579
11483500
25002469

prune142.0ms

Filtered
55 candidates to 39 candidates (70.9%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New51455
Fresh336
Picked101
Done000
Total55762

Merged error: 6.1b

Counts
62 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) a)
0.2b
(- (* b b) (* 4.0 (* a c)))
1.5b
(+ (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
23.0b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite25.0ms

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

series290.0ms

Counts
4 → 12
Calls
4 calls:
98.0ms
(/ (+ (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) a)
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))))

simplify124.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 3 (119.0ms)

IterNodesCost
0293308
11036281
24380268
35001266

prune99.0ms

Filtered
40 candidates to 28 candidates (70.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New38240
Fresh246
Picked011
Done000
Total40747

Merged error: 6.1b

Counts
47 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ 1 (* 2.0 a)) (+ (- b) (sqrt (- (* b b) (* 4.0 (* a c))))))
0.2b
(- (* b b) (* 4.0 (* a c)))
1.5b
(+ (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
23.0b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
13×*-commutative
10×frac-times
prod-diff
flip3-+ flip-+
associate-/r*
associate-*l/
associate-*r*
+-commutative frac-2neg clear-num
distribute-rgt-in flip3-- distribute-lft-in fma-neg sqrt-div associate-*r/ flip--
neg-sub0 associate-+l- neg-mul-1 sub-neg fma-def pow1/2 associate-*l* div-inv
Counts
4 → 45
Calls
4 calls:
9.0ms
(* (/ 1 (* 2.0 a)) (+ (- b) (sqrt (- (* b b) (* 4.0 (* a c))))))
5.0ms
(- (* b b) (* 4.0 (* a c)))
5.0ms
(+ (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
5.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series329.0ms

Counts
4 → 12
Calls
4 calls:
133.0ms
(* (/ 1 (* 2.0 a)) (+ (- b) (sqrt (- (* b b) (* 4.0 (* a c))))))
47.0ms
(- (* b b) (* 4.0 (* a c)))
78.0ms
(+ (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
71.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify49.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0419623
11916540
25002511

prune126.0ms

Filtered
57 candidates to 38 candidates (66.7%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New55257
Fresh145
Picked011
Done011
Total56864

Merged error: 6.0b

Counts
64 → 8

regimes197.0ms

Accuracy

82% (5.1b remaining)

Error of 10.7b against oracle of 5.5b and baseline of 34.1b

bsearch110.0ms

Steps
ItersRangePoint
9
6.997117448607536e-159
6.9825357345617866e-152
6.8956779722136e-152
8
-2.083222696695489e+156
-8.927571262924557e+151
-1.3324370156406744e+154

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03316
13316

end0.0ms

sample1.4s

Algorithm
intervals
Results
455.0ms1092×body2560valid
252.0ms5871×body80valid
169.0ms874×body1280valid
114.0ms2855×body80nan
69.0ms452×body640valid
37.0ms117×body5120valid
26.0ms224×body320valid
9.0ms115×body160valid