Details

Time bar (total: 5.0s)

sample49.0ms

Algorithm
intervals
Results
10.0ms206×body80valid
7.0ms26×body2560valid
6.0ms25×body1280valid
5.0ms12×body640valid
4.0ms75×body80nan
1.0msbody320valid
0.0msbody160valid
0.0msbody5120valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

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

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.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:
12.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)))

series301.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0405780
11563685
25001674

prune211.0ms

Filtered
82 candidates to 63 candidates (76.8%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New74882
Fresh000
Picked011
Done000
Total74983

Merged error: 6.0b

Counts
83 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.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:
14.0ms
(* (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (/ 1 (* 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)))

series297.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(* (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (/ 1 (* 2.0 a)))
78.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
44.0ms
(- (* b b) (* (* 4.0 a) c))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify63.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0481921
12189790
25001777

prune202.0ms

Filtered
92 candidates to 65 candidates (70.7%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New89392
Fresh437
Picked011
Done011
Total938101

Merged error: 6.0b

Counts
101 → 8

localize15.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (* b b) (* (* 4.0 a) c))
11.7b
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log sqrt-div add-cbrt-cube
flip3-- flip--
rem-sqrt-square sqrt-pow1 pow1/2 sum-log
+-commutative neg-sub0 associate-+l- sub-neg flip3-+ diff-log neg-log flip-+
Counts
4 → 55
Calls
4 calls:
4.0ms
(- (* b b) (* (* 4.0 a) c))
4.0ms
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series261.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(- (* b b) (* (* 4.0 a) c))
79.0ms
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify138.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 3 (131.0ms)

IterNodesCost
0251648
11020537
24512523
35002521

prune213.0ms

Filtered
67 candidates to 54 candidates (80.6%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New66167
Fresh145
Picked011
Done022
Total67875

Merged error: 6.0b

Counts
75 → 8

localize17.0ms

Local error

Found 4 expressions with local error:

1.9b
(* (/ (+ (* 4.0 (* a c)) 0) (- (+ b (sqrt (- (* b b) (* (* 4.0 a) c)))))) (/ 1 (* 2.0 a)))
2.2b
(+ b (sqrt (- (* b b) (* (* 4.0 a) c))))
10.8b
(/ (+ (* 4.0 (* a c)) 0) (- (+ b (sqrt (- (* b b) (* (* 4.0 a) c))))))
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
84×*-un-lft-identity
76×times-frac
60×add-sqr-sqrt
54×add-cube-cbrt
51×add-exp-log
42×associate-*l*
28×distribute-lft-neg-in distribute-rgt-neg-in
27×add-cbrt-cube
20×prod-exp
16×div-exp
15×distribute-lft-out
12×associate-/r*
cbrt-undiv cbrt-unprod
pow1 neg-mul-1 associate-*r*
add-log-exp
rec-exp flip3-+ 1-exp associate-/r/ flip-+ distribute-neg-frac
sqrt-prod div-inv associate-/l*
sqrt-div associate-/l/ unswap-sqr
+-commutative frac-times rem-sqrt-square flip3-- frac-2neg sqrt-pow1 pow1/2 associate-*r/ pow-prod-down associate-*l/ clear-num sum-log un-div-inv *-commutative flip--
Counts
4 → 178
Calls
4 calls:
23.0ms
(* (/ (+ (* 4.0 (* a c)) 0) (- (+ b (sqrt (- (* b b) (* (* 4.0 a) c)))))) (/ 1 (* 2.0 a)))
6.0ms
(+ b (sqrt (- (* b b) (* (* 4.0 a) c))))
13.0ms
(/ (+ (* 4.0 (* a c)) 0) (- (+ b (sqrt (- (* b b) (* (* 4.0 a) c))))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series484.0ms

Counts
4 → 12
Calls
4 calls:
149.0ms
(* (/ (+ (* 4.0 (* a c)) 0) (- (+ b (sqrt (- (* b b) (* (* 4.0 a) c)))))) (/ 1 (* 2.0 a)))
79.0ms
(+ b (sqrt (- (* b b) (* (* 4.0 a) c))))
182.0ms
(/ (+ (* 4.0 (* a c)) 0) (- (+ b (sqrt (- (* b b) (* (* 4.0 a) c))))))
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify158.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 2 (133.0ms)

IterNodesCost
08602890
147072552
250022551

prune470.0ms

Filtered
190 candidates to 137 candidates (72.1%)
Pruning

9 alts after pruning (5 fresh and 4 done)

PrunedKeptTotal
New1882190
Fresh134
Picked011
Done033
Total1899198

Merged error: 6.0b

Counts
198 → 9

regimes267.0ms

Accuracy

89.3% (3.0b remaining)

Error of 8.6b against oracle of 5.5b and baseline of 33.9b

bsearch207.0ms

Steps
ItersRangePoint
7
6.011887282010727e+43
5.675568733030414e+45
1.9326867649712656e+45
10
6.366270423089047e-197
5.678081784027156e-185
3.222850649891201e-188
9
-3.270551254255918e+118
-2.1334538400483563e+110
-1.206809493629299e+115

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05429
15729
25729

end0.0ms

sample1.4s

Algorithm
intervals
Results
311.0ms1057×body2560valid
304.0ms5898×body80valid
204.0ms873×body1280valid
146.0ms2907×body80nan
84.0ms447×body640valid
37.0ms108×body5120valid
32.0ms229×body320valid
10.0ms107×body160valid

Profiling

Loading profile data...