Details

Time bar (total: 3.6s)

sample72.0ms

Algorithm
intervals
Results
15.0ms157×body160valid
15.0ms534×pre80true
12.0ms278×body80nan
8.0ms99×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: 29.8b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.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:
5.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))
6.0ms
(- (sqrt (- (* b b) (* 3.0 (* a c)))) b)

series50.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (* b b) (* 3.0 (* a c)))
3.0ms
(* 3.0 (* a c))
24.0ms
(/ (- (sqrt (- (* b b) (* 3.0 (* a c)))) b) (* 3.0 a))
14.0ms
(- (sqrt (- (* b b) (* 3.0 (* a c)))) b)

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

Counts
88 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(* 3.0 (* a c))
0.3b
(* 3.0 (* a c))
0.4b
(/ (- 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:
4.0ms
(* 3.0 (* a c))
5.0ms
(* 3.0 (* a c))
8.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))

series101.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
052472768

prune247.0ms

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

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New13310143
Fresh606
Picked101
Done000
Total14010150

Merged error: 0b

Counts
150 → 10

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ c (+ b (sqrt (- (* b b) (* 3.0 (* a c))))))
0.2b
(+ b (sqrt (- (* b b) (* 3.0 (* a c)))))
0.2b
(- (* b b) (* 3.0 (* a c)))
0.3b
(* 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:
6.0ms
(/ c (+ b (sqrt (- (* b b) (* 3.0 (* a c))))))
5.0ms
(+ b (sqrt (- (* b b) (* 3.0 (* a c)))))
3.0ms
(- (* b b) (* 3.0 (* a c)))
5.0ms
(* 3.0 (* a c))

series72.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
049491193
149491193

prune146.0ms

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

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New82587
Fresh549
Picked101
Done000
Total88997

Merged error: 0b

Counts
97 → 9

localize22.0ms

Local error

Found 4 expressions with local error:

0.3b
(* 3.0 (* a (* a (* c c))))
0.3b
(* a (* c c))
0.3b
(* 3.0 (* 3.0 (* a (* a (* c c)))))
0.4b
(/ (- (pow b 4) (* 3.0 (* 3.0 (* a (* a (* c c)))))) (+ (* 3.0 (* a c)) (* b b)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
45×add-exp-log add-cbrt-cube
43×pow1
28×pow-prod-down prod-exp cbrt-unprod
16×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
times-frac associate-*l*
add-log-exp
associate-*r* associate-/r* *-commutative associate-/l*
associate-/r/ associate-/l/
cbrt-undiv flip3-- frac-2neg flip3-+ div-sub div-exp clear-num flip-- flip-+ div-inv unswap-sqr
Counts
4 → 102
Calls
4 calls:
10.0ms
(* 3.0 (* a (* a (* c c))))
6.0ms
(* a (* c c))
12.0ms
(* 3.0 (* 3.0 (* a (* a (* c c)))))
11.0ms
(/ (- (pow b 4) (* 3.0 (* 3.0 (* a (* a (* c c)))))) (+ (* 3.0 (* a c)) (* b b)))

series45.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(* 3.0 (* a (* a (* c c))))
6.0ms
(* a (* c c))
11.0ms
(* 3.0 (* 3.0 (* a (* a (* c c)))))
21.0ms
(/ (- (pow b 4) (* 3.0 (* 3.0 (* a (* a (* c c)))))) (+ (* 3.0 (* a c)) (* b b)))

simplify57.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
050551828

prune149.0ms

Filtered
64 candidates to 114 candidates (-78.1%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1140114
Fresh088
Picked011
Done000
Total1149123

Merged error: 0b

Counts
123 → 9

regimes213.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04031
14031

end0.0ms

sample2.0s

Algorithm
intervals
Results
459.0ms16541×pre80true
414.0ms4504×body160valid
390.0ms8541×body80nan
169.0ms3496×body80valid

Profiling

Loading profile data...