Details

Time bar (total: 4.0s)

sample102.0ms

Algorithm
intervals
Results
21.0ms163×body160valid
20.0ms516×pre80true
17.0ms260×body80nan
12.0ms41×body320valid
3.0ms52×body80valid

simplify179.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (178.0ms)

IterNodesCost
0178416
1178416

prune7.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 45.3b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.0ms

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

series52.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (* b b) (* (* 3.0 a) c))
25.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
3.0ms
(* (* 3.0 a) c)
15.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify44.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
060601121

prune119.0ms

Filtered
59 candidates to 85 candidates (-44.1%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New80585
Fresh000
Picked101
Done000
Total81586

Merged error: 0.2b

Counts
86 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
55×add-exp-log add-cbrt-cube
34×times-frac
28×add-sqr-sqrt *-un-lft-identity
19×prod-exp cbrt-unprod
17×cbrt-undiv div-exp
14×pow1 associate-/l*
12×add-cube-cbrt
associate-/r* distribute-lft-out-- difference-of-squares
associate-*l* pow-prod-down associate-/r/
distribute-rgt-neg-in sqrt-prod div-inv add-log-exp
flip3-- flip--
frac-2neg associate-*r* clear-num *-commutative
associate-/l/
Counts
4 → 123
Calls
4 calls:
5.0ms
(* 3.0 (* a c))
5.0ms
(* 3.0 (* a c))
13.0ms
(/ (* 3.0 (* a c)) (- (neg b) (sqrt (- (* b b) (* 3.0 (* a c))))))
16.0ms
(/ (/ (* 3.0 (* a c)) (- (neg b) (sqrt (- (* b b) (* 3.0 (* a c)))))) (* 3.0 a))

series106.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* 3.0 (* a c))
3.0ms
(* 3.0 (* a c))
54.0ms
(/ (* 3.0 (* a c)) (- (neg b) (sqrt (- (* b b) (* 3.0 (* a c))))))
45.0ms
(/ (/ (* 3.0 (* a c)) (- (neg b) (sqrt (- (* b b) (* 3.0 (* a c)))))) (* 3.0 a))

simplify55.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
050252216

prune171.0ms

Filtered
76 candidates to 135 candidates (-77.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1287135
Fresh404
Picked101
Done000
Total1337140

Merged error: 0b

Counts
140 → 7

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
92×add-exp-log
50×add-cbrt-cube
39×prod-exp
38×div-exp
31×times-frac
24×add-sqr-sqrt *-un-lft-identity
20×add-cube-cbrt
18×cbrt-unprod
15×cbrt-undiv
14×pow1 1-exp
13×associate-/l*
10×associate-*l*
associate-*r/
pow-prod-down add-log-exp
flip3-- associate-/r/ flip--
frac-times associate-*l/
div-inv
associate-*r* *-commutative distribute-lft-out-- difference-of-squares
sub-neg distribute-rgt-neg-in frac-2neg diff-log clear-num associate-/r* sqrt-prod associate-/l/
Counts
4 → 130
Calls
4 calls:
4.0ms
(- (* b b) (* 3.0 (* a c)))
19.0ms
(/ (/ 3.0 1) (* (- (neg b) (sqrt (- (* b b) (* 3.0 (* a c))))) (* 1 (/ 3.0 c))))
14.0ms
(* (- (neg b) (sqrt (- (* b b) (* 3.0 (* a c))))) (* 1 (/ 3.0 c)))
5.0ms
(* 3.0 (* a c))

series66.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (* b b) (* 3.0 (* a c)))
35.0ms
(/ (/ 3.0 1) (* (- (neg b) (sqrt (- (* b b) (* 3.0 (* a c))))) (* 1 (/ 3.0 c))))
18.0ms
(* (- (neg b) (sqrt (- (* b b) (* 3.0 (* a c))))) (* 1 (/ 3.0 c)))
4.0ms
(* 3.0 (* a c))

simplify70.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
049822293
149822293

prune353.0ms

Filtered
81 candidates to 142 candidates (-75.3%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1411142
Fresh156
Picked011
Done000
Total1427149

Merged error: 0b

Counts
149 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt
34×*-un-lft-identity
30×associate-*l*
23×times-frac
18×add-exp-log
17×add-cube-cbrt
14×add-cbrt-cube
11×pow1
10×add-log-exp
distribute-lft-out-- difference-of-squares
prod-exp
cbrt-unprod
distribute-rgt-neg-in associate-*r* pow-prod-down sqrt-prod
flip3-- diff-log flip-- unswap-sqr
sub-neg div-exp associate-/r/ *-commutative
cbrt-undiv associate--l- neg-sub0 rec-exp 1-exp neg-log associate-*l/ div-inv
Counts
4 → 97
Calls
4 calls:
8.0ms
(- (neg b) (sqrt (- (* b b) (* 3.0 (* a c)))))
6.0ms
(- (* b b) (* 3.0 (* a c)))
5.0ms
(* 3.0 (* a c))
16.0ms
(* (/ 1 (- (neg b) (sqrt (- (* b b) (* 3.0 (* a c)))))) c)

series59.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(- (neg b) (sqrt (- (* b b) (* 3.0 (* a c)))))
8.0ms
(- (* b b) (* 3.0 (* a c)))
3.0ms
(* 3.0 (* a c))
32.0ms
(* (/ 1 (- (neg b) (sqrt (- (* b b) (* 3.0 (* a c)))))) c)

simplify60.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049591549
149591549

prune124.0ms

Filtered
71 candidates to 109 candidates (-53.5%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1072109
Fresh235
Picked011
Done011
Total1097116

Merged error: 0b

Counts
116 → 7

regimes166.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07815
17815

end0.0ms

sample2.1s

Algorithm
intervals
Results
454.0ms4853×body160valid
437.0ms16267×pre80true
386.0ms8267×body80nan
190.0ms1378×body320valid
88.0ms1769×body80valid

Profiling

Loading profile data...