Details

Time bar (total: 4.1s)

sample41.0ms

Algorithm
intervals
Results
8.0ms35×body2560valid
8.0ms195×body80valid
6.0ms33×body1280valid
3.0ms97×body80nan
1.0msbody640valid
1.0msbody320valid
1.0msbody5120valid
0.0msbody160valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

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

Counts
2 → 1

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
0.8b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.0b
(- (* b b) (* (* 4.0 a) c))
24.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div associate-/r* flip-- flip-+ associate-/l/
+-commutative sub-neg frac-2neg pow1/2 div-sub clear-num *-commutative div-inv
Counts
4 → 19
Calls
4 calls:
8.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
5.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
5.0ms
(- (* b b) (* (* 4.0 a) c))
5.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series301.0ms

Counts
4 → 12
Calls
4 calls:
105.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
80.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
44.0ms
(- (* b b) (* (* 4.0 a) c))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify117.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (113.0ms)

IterNodesCost
0269246
1985235
23932225
35002224

prune103.0ms

Filtered
31 candidates to 27 candidates (87.1%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New24731
Fresh000
Picked101
Done000
Total25732

Merged error: 5.8b

Counts
32 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (* (/ a (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)) 2.0))
0.8b
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
1.0b
(- (* b b) (* (* 4.0 a) c))
24.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r* associate-/r/
flip3-- flip--
associate-*l* associate-*l/
sub-neg frac-2neg sqrt-div clear-num div-inv
pow1/2 *-commutative inv-pow
Counts
4 → 23
Calls
4 calls:
12.0ms
(/ 1 (* (/ a (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)) 2.0))
6.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
5.0ms
(- (* b b) (* (* 4.0 a) c))
5.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series460.0ms

Counts
4 → 12
Calls
4 calls:
265.0ms
(/ 1 (* (/ a (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)) 2.0))
79.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
48.0ms
(- (* b b) (* (* 4.0 a) c))
67.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify109.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0220230
1837220
23778213
35001213

prune97.0ms

Filtered
35 candidates to 28 candidates (80.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New33235
Fresh246
Picked011
Done000
Total35742

Merged error: 5.7b

Counts
42 → 7

localize15.0ms

Local error

Found 4 expressions with local error:

1.5b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.6b
(/ (/ (* 4.0 (* a c)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
10.1b
(/ (* 4.0 (* a c)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
24.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
11×associate-/l*
associate-/r/ *-commutative
associate-/l/
flip3-- times-frac flip--
div-inv
associate-*r*
frac-2neg clear-num
sqrt-div associate-/r*
associate--l- neg-sub0 sub-neg pow1/2
Counts
4 → 38
Calls
4 calls:
5.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
11.0ms
(/ (/ (* 4.0 (* a c)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
11.0ms
(/ (* 4.0 (* a c)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
5.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series467.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
143.0ms
(/ (/ (* 4.0 (* a c)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
181.0ms
(/ (* 4.0 (* a c)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
67.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify41.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0366556
11449509
25001481

prune150.0ms

Filtered
50 candidates to 44 candidates (88.0%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New48250
Fresh325
Picked011
Done011
Total51657

Merged error: 5.7b

Counts
57 → 6

localize15.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 4.0 a) c))
1.5b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
5.3b
(* (* 2.0 a) (/ (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) a))
24.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
associate-*r/
flip3-- flip--
sub-neg sqrt-div associate-*l* clear-num *-commutative associate-/l/
associate--l- neg-sub0 frac-2neg pow1/2 associate-*r* un-div-inv div-inv
Counts
4 → 22
Calls
4 calls:
5.0ms
(- (* b b) (* (* 4.0 a) c))
5.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
9.0ms
(* (* 2.0 a) (/ (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) a))
5.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series287.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(- (* b b) (* (* 4.0 a) c))
77.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
90.0ms
(* (* 2.0 a) (/ (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) a))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify126.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0227248
1892240
24596225
35001225

prune86.0ms

Filtered
34 candidates to 27 candidates (79.4%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New33134
Fresh123
Picked011
Done022
Total34640

Merged error: 5.7b

Counts
40 → 6

regimes128.0ms

Accuracy

93.7% (1.6b remaining)

Error of 7.1b against oracle of 5.5b and baseline of 30.5b

bsearch191.0ms

Steps
ItersRangePoint
8
2.996660094541056e+24
1.9235933371893114e+28
1.702453744110318e+28
8
-2.0939008728128375e-165
-4.8620484299604695e-170
-4.962069054079445e-170
10
-3.0529494422842112e+156
-1.5054982703030158e+138
-2.7863758169125638e+138

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04928
14928

end0.0ms

sample1.2s

Algorithm
intervals
Results
263.0ms1101×body2560valid
237.0ms5787×body80valid
180.0ms900×body1280valid
114.0ms2923×body80nan
72.0ms458×body640valid
33.0ms105×body5120valid
28.0ms227×body320valid
9.0ms123×body160valid