Details

Time bar (total: 4.7s)

sample71.0ms

Algorithm
intervals
Results
15.0ms158×body160valid
14.0ms513×pre80true
12.0ms257×body80nan
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

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 43.8b

Counts
2 → 1

localize13.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))))

rewrite29.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)
11.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series55.0ms

Counts
4 → 12
Calls
4 calls:
11.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
85 candidates to 59 candidates (30.6%)
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)
7.0ms
(* 3.0 (* a c))
12.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
16.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series109.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (* 3.0 a) c)
3.0ms
(* 3.0 (* a c))
58.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
44.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 (95.0ms)

IterNodesCost
06282481
133222152
250022149

prune287.0ms

Filtered
169 candidates to 104 candidates (38.5%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1609169
Fresh314
Picked101
Done000
Total16410174

Merged error: 0b

Counts
174 → 10

localize16.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))

rewrite106.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)))
14.0ms
(/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
4.0ms
(/ 3.0 (* a c))
57.0ms
(* (/ 3.0 (/ 3.0 (* a c))) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))

series90.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
372 → 372
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
014665419
150014625

prune789.0ms

Filtered
372 candidates to 216 candidates (41.9%)
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))))))

rewrite37.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))
11.0ms
(* a (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
5.0ms
(* (* 3.0 a) c)
15.0ms
(/ (* a c) (* a (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))))

series84.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
0442827
12571641
25001631

prune111.0ms

Filtered
93 candidates to 59 candidates (36.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New91293
Fresh257
Picked011
Done000
Total938101

Merged error: 0b

Counts
101 → 8

regimes264.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
454.0ms4901×body160valid
438.0ms16052×pre80true
377.0ms8052×body80nan
189.0ms1364×body320valid
84.0ms1735×body80valid

Profiling

Loading profile data...