Details

Time bar (total: 4.3s)

sample72.0ms

Algorithm
intervals
Results
16.0ms146×body160valid
14.0ms501×pre80true
11.0ms245×body80nan
6.0ms42×body320valid
3.0ms68×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
08816
18816

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

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (* b b) (* 3.0 (* a c)))
0.2b
(* 3.0 (* a c))
0.3b
(/ (- (sqrt (- (* b b) (* 3.0 (* a c)))) b) (* 3.0 a))
37.4b
(- (sqrt (- (* b b) (* 3.0 (* a c)))) b)

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
14×add-exp-log add-cbrt-cube
13×*-un-lft-identity
pow1
add-log-exp
add-cube-cbrt
times-frac associate-/l* difference-of-squares
prod-exp cbrt-unprod
flip3-- associate-*l* pow-prod-down sqrt-prod flip-- distribute-lft-out--
cbrt-undiv sub-neg diff-log div-exp associate-/l/
frac-2neg div-sub associate-*r* clear-num associate-/r* *-commutative div-inv
Counts
4 → 75
Calls
4 calls:
4.0ms
(- (* b b) (* 3.0 (* a c)))
5.0ms
(* 3.0 (* a c))
10.0ms
(/ (- (sqrt (- (* b b) (* 3.0 (* a c)))) b) (* 3.0 a))
7.0ms
(- (sqrt (- (* b b) (* 3.0 (* a c)))) b)

series55.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(- (* b b) (* 3.0 (* a c)))
3.0ms
(* 3.0 (* a c))
27.0ms
(/ (- (sqrt (- (* b b) (* 3.0 (* a c)))) b) (* 3.0 a))
16.0ms
(- (sqrt (- (* b b) (* 3.0 (* a c)))) b)

simplify34.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
050071209

prune133.0ms

Filtered
59 candidates to 87 candidates (-47.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New80787
Fresh000
Picked101
Done000
Total81788

Merged error: 0.3b

Counts
88 → 7

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(* 3.0 (* a c))
0.2b
(* 3.0 (* a c))
0.3b
(/ (- 0 (* 3.0 (* a c))) (+ b (sqrt (- (* b b) (* 3.0 (* a c))))))
0.4b
(/ (/ (- 0 (* 3.0 (* a c))) (+ b (sqrt (- (* b b) (* 3.0 (* a c)))))) (* 3.0 a))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
54×times-frac
51×*-un-lft-identity
31×add-sqr-sqrt add-cube-cbrt
28×add-exp-log add-cbrt-cube
21×associate-/l*
14×pow1
10×distribute-lft-out
prod-exp cbrt-unprod
cbrt-undiv div-exp
associate-*l* pow-prod-down associate-/r/
associate-/r*
div-inv add-log-exp
flip3-+ div-sub distribute-frac-neg flip-+ associate-/l/
frac-2neg sub0-neg associate-*r* clear-num *-commutative
flip3-- flip--
Counts
4 → 131
Calls
4 calls:
5.0ms
(* 3.0 (* a c))
5.0ms
(* 3.0 (* a c))
9.0ms
(/ (- 0 (* 3.0 (* a c))) (+ b (sqrt (- (* b b) (* 3.0 (* a c))))))
12.0ms
(/ (/ (- 0 (* 3.0 (* a c))) (+ b (sqrt (- (* b b) (* 3.0 (* a c)))))) (* 3.0 a))

series104.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* 3.0 (* a c))
3.0ms
(* 3.0 (* a c))
55.0ms
(/ (- 0 (* 3.0 (* a c))) (+ b (sqrt (- (* b b) (* 3.0 (* a c))))))
42.0ms
(/ (/ (- 0 (* 3.0 (* a c))) (+ b (sqrt (- (* b b) (* 3.0 (* a c)))))) (* 3.0 a))

simplify38.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
052472768

prune245.0ms

Filtered
97 candidates to 143 candidates (-47.4%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1358143
Fresh606
Picked011
Done000
Total1419150

Merged error: 0b

Counts
150 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ b (sqrt (- (* b b) (* 3.0 (* a c)))))
0.1b
(- (* b b) (* 3.0 (* a c)))
0.1b
(/ c (+ b (sqrt (- (* b b) (* 3.0 (* a c))))))
0.2b
(* 3.0 (* a c))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
14×add-sqr-sqrt add-cube-cbrt
12×times-frac
11×add-exp-log add-cbrt-cube
pow1
add-log-exp
distribute-lft-out
associate-/r*
associate-*l* pow-prod-down prod-exp cbrt-unprod associate-/l*
flip3-+ associate-/r/ flip-+
cbrt-undiv +-commutative sub-neg flip3-- frac-2neg diff-log div-exp associate-*r* clear-num sum-log *-commutative flip-- div-inv
Counts
4 → 75
Calls
4 calls:
5.0ms
(+ b (sqrt (- (* b b) (* 3.0 (* a c)))))
4.0ms
(- (* b b) (* 3.0 (* a c)))
7.0ms
(/ c (+ b (sqrt (- (* b b) (* 3.0 (* a c))))))
5.0ms
(* 3.0 (* a c))

series73.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(+ b (sqrt (- (* b b) (* 3.0 (* a c)))))
8.0ms
(- (* b b) (* 3.0 (* a c)))
47.0ms
(/ c (+ b (sqrt (- (* b b) (* 3.0 (* a c))))))
4.0ms
(* 3.0 (* a c))

simplify71.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
049491193
149491193

prune134.0ms

Filtered
61 candidates to 87 candidates (-42.6%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New86187
Fresh257
Picked011
Done011
Total88896

Merged error: 0b

Counts
96 → 8

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (* b b) (* 3.0 (* a c)))
0.2b
(* 3.0 (* a c))
0.3b
(/ (/ (/ (* a (neg c)) 1) (+ b (sqrt (- (* b b) (* 3.0 (* a c)))))) a)
0.3b
(/ (/ (* a (neg c)) 1) (+ b (sqrt (- (* b b) (* 3.0 (* a c))))))

rewrite246.0ms

Algorithm
rewrite-expression-head
Rules
305×times-frac
194×*-un-lft-identity
122×add-sqr-sqrt add-cube-cbrt
44×add-exp-log
41×associate-/l*
36×distribute-lft-out
32×add-cbrt-cube
27×div-inv
24×div-exp
14×cbrt-undiv
10×associate-/r/
pow1
prod-exp associate-/r*
add-log-exp
flip3-+ distribute-frac-neg cbrt-unprod flip-+
1-exp
associate-*l* pow-prod-down
frac-2neg clear-num distribute-rgt-neg-out associate-/l/
sub-neg flip3-- diff-log associate-*r* *-commutative flip--
Counts
4 → 252
Calls
4 calls:
3.0ms
(- (* b b) (* 3.0 (* a c)))
5.0ms
(* 3.0 (* a c))
17.0ms
(/ (/ (/ (* a (neg c)) 1) (+ b (sqrt (- (* b b) (* 3.0 (* a c)))))) a)
11.0ms
(/ (/ (* a (neg c)) 1) (+ b (sqrt (- (* b b) (* 3.0 (* a c))))))

series107.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(- (* b b) (* 3.0 (* a c)))
4.0ms
(* 3.0 (* a c))
42.0ms
(/ (/ (/ (* a (neg c)) 1) (+ b (sqrt (- (* b b) (* 3.0 (* a c)))))) a)
52.0ms
(/ (/ (* a (neg c)) 1) (+ b (sqrt (- (* b b) (* 3.0 (* a c))))))

simplify101.0ms

Algorithm
egg-herbie
Counts
264 → 264
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
049786685
149786685

prune373.0ms

Filtered
172 candidates to 264 candidates (-53.5%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New2631264
Fresh145
Picked011
Done022
Total2648272

Merged error: 0b

Counts
272 → 8

regimes196.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02615
12615

end0.0ms

sample2.2s

Algorithm
intervals
Results
458.0ms4837×body160valid
443.0ms16129×pre80true
390.0ms8129×body80nan
194.0ms1352×body320valid
91.0ms1811×body80valid

Profiling

Loading profile data...