Details

Time bar (total: 4.5s)

sample73.0ms

Algorithm
intervals
Results
15.0ms257×body80nan
14.0ms158×body160valid
14.0ms513×pre80true
6.0ms47×body320valid
2.0ms51×body80valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 43.8b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

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

series53.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0417711
11922611
25001602

prune122.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.3b

Counts
86 → 5

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
80×add-sqr-sqrt *-un-lft-identity
40×add-cube-cbrt
30×associate-/l*
28×add-exp-log add-cbrt-cube
20×distribute-lft-out-- difference-of-squares
14×pow1
10×distribute-rgt-neg-in sqrt-prod
prod-exp associate-/r* cbrt-unprod
cbrt-undiv div-exp
pow-prod-down associate-/r/
associate-*r* associate-*l* div-inv add-log-exp
flip3-- flip-- associate-/l/
frac-2neg clear-num *-commutative
flip3-+ flip-+
Counts
4 → 157
Calls
4 calls:
5.0ms
(* (* 3.0 a) c)
5.0ms
(* 3.0 (* a c))
13.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
17.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series110.0ms

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

simplify117.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (96.0ms)

IterNodesCost
06282481
133222152
250022149

prune292.0ms

Filtered
104 candidates to 169 candidates (-62.5%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1609169
Fresh314
Picked101
Done000
Total16410174

Merged error: 0b

Counts
174 → 10

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite108.0ms

Algorithm
rewrite-expression-head
Rules
389×times-frac
281×add-sqr-sqrt
255×*-un-lft-identity
169×add-cube-cbrt
117×add-exp-log
85×associate-*r*
77×add-cbrt-cube
62×div-exp
42×distribute-lft-out-- difference-of-squares
37×cbrt-undiv
33×associate-/l*
27×prod-exp
26×associate-*l*
21×distribute-rgt-neg-in sqrt-prod
19×div-inv
17×cbrt-unprod
16×associate-/r/
11×associate-/r*
unswap-sqr
flip3-- flip--
pow1
rec-exp 1-exp
add-log-exp
frac-2neg clear-num
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative associate-/l/
Counts
4 → 360
Calls
4 calls:
6.0ms
(/ 3.0 (/ 3.0 (* a c)))
15.0ms
(/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
4.0ms
(/ 3.0 (* a c))
60.0ms
(* (/ 3.0 (/ 3.0 (* a c))) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))

series93.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
372 → 372
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
014665419
150014625

prune623.0ms

Filtered
216 candidates to 372 candidates (-72.2%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New3693372
Fresh459
Picked101
Done000
Total3748382

Merged error: 0b

Counts
382 → 8

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.0ms

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

series84.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
0442827
12571641
25001631

prune116.0ms

Filtered
59 candidates to 93 candidates (-57.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New91293
Fresh257
Picked011
Done000
Total938101

Merged error: 0b

Counts
101 → 8

regimes270.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 (0.0ms)

IterNodesCost
0208
1228
2228

end0.0ms

sample2.1s

Algorithm
intervals
Results
453.0ms4901×body160valid
438.0ms16052×pre80true
376.0ms8052×body80nan
185.0ms1364×body320valid
83.0ms1735×body80valid

Profiling

Loading profile data...