Details

Time bar (total: 5.1s)

sample43.0ms

Algorithm
intervals
Results
8.0ms206×body80valid
8.0ms32×body2560valid
5.0ms23×body1280valid
4.0ms103×body80nan
3.0ms19×body640valid
0.0msbody320valid
0.0msbody160valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

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

Counts
2 → 1

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
0.4b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
0.8b
(- (* b b) (* (* 4.0 a) c))
23.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
10×add-log-exp
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
distribute-lft-out
pow1 times-frac associate-/l*
distribute-rgt-neg-in sqrt-prod
cbrt-undiv neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div div-exp sum-log flip-- flip-+ associate-/l/
+-commutative sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log div-sub neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 70
Calls
4 calls:
16.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
8.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(- (* b b) (* (* 4.0 a) c))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series363.0ms

Counts
4 → 12
Calls
4 calls:
132.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
93.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
61.0ms
(- (* b b) (* (* 4.0 a) c))
77.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify59.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0405779
11563685
25001674

prune270.0ms

Filtered
82 candidates to 63 candidates (76.8%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New73982
Fresh000
Picked101
Done000
Total74983

Merged error: 6.1b

Counts
83 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (/ 1 (* 2.0 a)))
0.4b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
0.8b
(- (* b b) (* (* 4.0 a) c))
23.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
23×add-exp-log
16×*-un-lft-identity
13×add-cbrt-cube
11×add-sqr-sqrt
10×prod-exp add-log-exp
add-cube-cbrt
pow1 associate-*r*
associate-*l*
div-exp cbrt-unprod distribute-lft-out
flip3-+ times-frac sqrt-prod flip-+
cbrt-undiv frac-times rec-exp flip3-- distribute-rgt-neg-in sqrt-div 1-exp associate-*l/ sum-log flip--
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log associate-*r/ pow-prod-down neg-log un-div-inv *-commutative div-inv unswap-sqr
Counts
4 → 80
Calls
4 calls:
17.0ms
(* (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (/ 1 (* 2.0 a)))
9.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(- (* b b) (* (* 4.0 a) c))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series359.0ms

Counts
4 → 12
Calls
4 calls:
127.0ms
(* (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (/ 1 (* 2.0 a)))
86.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
56.0ms
(- (* b b) (* (* 4.0 a) c))
90.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify73.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0481920
12189790
25001777

prune257.0ms

Filtered
92 candidates to 66 candidates (71.7%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New90292
Fresh358
Picked101
Done000
Total947101

Merged error: 6.1b

Counts
101 → 7

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (* 2.0 a) (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
0.4b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
0.8b
(- (* b b) (* (* 4.0 a) c))
23.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
53×times-frac
45×*-un-lft-identity
26×add-sqr-sqrt
25×add-exp-log add-cube-cbrt
13×add-cbrt-cube
12×div-exp
11×associate-/r*
10×distribute-lft-out add-log-exp
associate-/r/
pow1
cbrt-undiv distribute-rgt-neg-in flip3-+ flip-+ div-inv
rec-exp 1-exp prod-exp sqrt-prod associate-/l*
flip3-- sqrt-div sum-log flip--
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 diff-log neg-log clear-num cbrt-unprod inv-pow
Counts
4 → 114
Calls
4 calls:
18.0ms
(/ 1 (/ (* 2.0 a) (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
8.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(- (* b b) (* (* 4.0 a) c))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series395.0ms

Counts
4 → 12
Calls
4 calls:
163.0ms
(/ 1 (/ (* 2.0 a) (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
89.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
56.0ms
(- (* b b) (* (* 4.0 a) c))
85.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify85.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
05251588
125701375
250011308

prune271.0ms

Filtered
126 candidates to 72 candidates (57.1%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1251126
Fresh066
Picked011
Done000
Total1258133

Merged error: 6.0b

Counts
133 → 8

localize17.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.8b
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
11.9b
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
23.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
84×add-sqr-sqrt
83×*-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
22×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
14×sqrt-prod
11×distribute-rgt-neg-in
associate-/r* add-log-exp
cbrt-undiv div-exp
associate-/r/
pow1 flip3-- flip--
div-inv
associate-/l/
frac-2neg sqrt-div diff-log prod-exp clear-num cbrt-unprod
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 154
Calls
4 calls:
8.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
18.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
17.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series549.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
169.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
208.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
87.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify133.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (103.0ms)

IterNodesCost
06512692
131392439
250022426

prune438.0ms

Filtered
166 candidates to 110 candidates (66.3%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1660166
Fresh066
Picked011
Done011
Total1668174

Merged error: 6.0b

Counts
174 → 8

regimes223.0ms

Accuracy

82.2% (5.1b remaining)

Error of 10.5b against oracle of 5.4b and baseline of 33.9b

bsearch126.0ms

Steps
ItersRangePoint
10
2.319058093766752e-122
4.8666627780759835e-109
1.0023817224401286e-110
5
-2.6938476684742574e+82
-9.311037300204504e+81
-2.657139070341684e+82

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03716
13716

end0.0ms

sample1.2s

Algorithm
intervals
Results
256.0ms1055×body2560valid
221.0ms5771×body80valid
187.0ms952×body1280valid
106.0ms2946×body80nan
71.0ms483×body640valid
38.0ms115×body5120valid
25.0ms228×body320valid
8.0ms110×body160valid