Details

Time bar (total: 4.2s)

sample81.0ms

Algorithm
intervals
Results
19.0ms146×body160valid
16.0ms542×pre80true
15.0ms286×body80nan
6.0ms110×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
09116
19116

prune8.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 29.8b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (- (* b b) (* 4.0 (* a c))))
0.2b
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
0.3b
(- (* b b) (* 4.0 (* a c)))
29.7b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
13×*-un-lft-identity
add-exp-log add-cbrt-cube
add-log-exp
add-cube-cbrt
times-frac sqrt-prod associate-/l* difference-of-squares
pow1
flip3-- flip--
distribute-lft-out--
cbrt-undiv sub-neg sqrt-div diff-log div-exp associate-/l/
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 72
Calls
4 calls:
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
14.0ms
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
4.0ms
(- (* b b) (* 4.0 (* a c)))
8.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)

series71.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
28.0ms
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
10.0ms
(- (* b b) (* 4.0 (* a c)))
17.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)

simplify42.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
049591319
149591319

prune147.0ms

Filtered
62 candidates to 84 candidates (-35.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New78684
Fresh000
Picked101
Done000
Total79685

Merged error: 0.3b

Counts
85 → 6

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
0.2b
(/ (/ (- 0 (* 4.0 (* a c))) (+ b (sqrt (- (* b b) (* 4.0 (* a c)))))) (* a 2.0))
0.3b
(- (* b b) (* 4.0 (* a c)))
0.3b
(/ (- 0 (* 4.0 (* a c))) (+ b (sqrt (- (* b b) (* 4.0 (* a c))))))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
54×times-frac
51×*-un-lft-identity
29×add-sqr-sqrt add-cube-cbrt
21×associate-/l*
18×add-exp-log add-cbrt-cube
11×distribute-lft-out
add-log-exp
cbrt-undiv div-exp
associate-/r/
associate-/r*
pow1 flip3-+ flip-+ div-inv
div-sub distribute-frac-neg associate-/l/
flip3-- frac-2neg sub0-neg prod-exp clear-num flip-- cbrt-unprod
+-commutative sub-neg diff-log sum-log
Counts
4 → 119
Calls
4 calls:
6.0ms
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
14.0ms
(/ (/ (- 0 (* 4.0 (* a c))) (+ b (sqrt (- (* b b) (* 4.0 (* a c)))))) (* a 2.0))
4.0ms
(- (* b b) (* 4.0 (* a c)))
10.0ms
(/ (- 0 (* 4.0 (* a c))) (+ b (sqrt (- (* b b) (* 4.0 (* a c))))))

series143.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
50.0ms
(/ (/ (- 0 (* 4.0 (* a c))) (+ b (sqrt (- (* b b) (* 4.0 (* a c)))))) (* a 2.0))
10.0ms
(- (* b b) (* 4.0 (* a c)))
66.0ms
(/ (- 0 (* 4.0 (* a c))) (+ b (sqrt (- (* b b) (* 4.0 (* a c))))))

simplify36.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
051033100

prune301.0ms

Filtered
98 candidates to 131 candidates (-33.7%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1229131
Fresh505
Picked101
Done000
Total1289137

Merged error: 0b

Counts
137 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
0.2b
(* a (* (+ b (sqrt (- (* b b) (* 4.0 (* a c))))) 2.0))
0.3b
(- (* b b) (* 4.0 (* a c)))
0.3b
(/ (- 0 (* 4.0 (* a c))) (* a (* (+ b (sqrt (- (* b b) (* 4.0 (* a c))))) 2.0)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log add-cbrt-cube
pow1 *-un-lft-identity
add-log-exp
add-sqr-sqrt add-cube-cbrt
prod-exp cbrt-unprod
associate-*r/ associate-*l/
cbrt-undiv flip3-+ times-frac div-exp associate-*l* pow-prod-down flip-+ associate-/l*
flip3-- associate-/r/ flip-- associate-/l/
+-commutative sub-neg frac-2neg sub0-neg diff-log div-sub distribute-frac-neg associate-*r* clear-num associate-/r* sum-log *-commutative div-inv distribute-lft-out
Counts
4 → 73
Calls
4 calls:
6.0ms
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
10.0ms
(* a (* (+ b (sqrt (- (* b b) (* 4.0 (* a c))))) 2.0))
4.0ms
(- (* b b) (* 4.0 (* a c)))
16.0ms
(/ (- 0 (* 4.0 (* a c))) (* a (* (+ b (sqrt (- (* b b) (* 4.0 (* a c))))) 2.0)))

series108.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
34.0ms
(* a (* (+ b (sqrt (- (* b b) (* 4.0 (* a c))))) 2.0))
10.0ms
(- (* b b) (* 4.0 (* a c)))
48.0ms
(/ (- 0 (* 4.0 (* a c))) (* a (* (+ b (sqrt (- (* b b) (* 4.0 (* a c))))) 2.0)))

simplify49.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
049481460
149481460

prune166.0ms

Filtered
63 candidates to 85 candidates (-34.9%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New85085
Fresh088
Picked011
Done000
Total85994

Merged error: 0b

Counts
94 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
0.3b
(- (* b b) (* 4.0 (* a c)))
0.3b
(/ (* a (neg c)) (+ b (sqrt (- (* b b) (* 4.0 (* a c))))))
0.4b
(* (/ 4.0 a) (/ (* a (neg c)) (+ b (sqrt (- (* b b) (* 4.0 (* a c)))))))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
30×add-exp-log add-cbrt-cube
23×*-un-lft-identity
20×add-sqr-sqrt
18×times-frac
15×add-cube-cbrt
13×associate-*l*
10×associate-*r*
cbrt-undiv div-exp prod-exp cbrt-unprod
add-log-exp
pow1
associate-/r* associate-/r/ distribute-lft-out
flip3-+ distribute-rgt-neg-out flip-+ div-inv
distribute-frac-neg unswap-sqr
+-commutative frac-times sub-neg flip3-- frac-2neg diff-log associate-*r/ pow-prod-down associate-*l/ clear-num sum-log *-commutative flip-- associate-/l*
Counts
4 → 100
Calls
4 calls:
6.0ms
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
4.0ms
(- (* b b) (* 4.0 (* a c)))
11.0ms
(/ (* a (neg c)) (+ b (sqrt (- (* b b) (* 4.0 (* a c))))))
17.0ms
(* (/ 4.0 a) (/ (* a (neg c)) (+ b (sqrt (- (* b b) (* 4.0 (* a c)))))))

series141.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
10.0ms
(- (* b b) (* 4.0 (* a c)))
63.0ms
(/ (* a (neg c)) (+ b (sqrt (- (* b b) (* 4.0 (* a c))))))
51.0ms
(* (/ 4.0 a) (/ (* a (neg c)) (+ b (sqrt (- (* b b) (* 4.0 (* a c)))))))

simplify29.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 0 (18.0ms)

IterNodesCost
052561977

prune168.0ms

Filtered
82 candidates to 112 candidates (-36.6%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1111112
Fresh167
Picked011
Done011
Total1129121

Merged error: 0b

Counts
121 → 9

regimes238.0ms

Accuracy

0% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 0.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03623
13623

end0.0ms

sample2.3s

Algorithm
intervals
Results
485.0ms16605×pre80true
475.0ms4527×body160valid
464.0ms8605×body80nan
191.0ms3473×body80valid

Profiling

Loading profile data...