Details

Time bar (total: 4.7s)

sample67.0ms

Algorithm
intervals
Results
14.0ms518×pre80true
12.0ms262×body80nan
12.0ms130×body160valid
6.0ms126×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: 27.2b

Counts
2 → 1

localize13.0ms

Local error

Found 4 expressions with local error:

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

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

series53.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))
14.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify55.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0417711
11922611
25001602

prune136.0ms

Filtered
85 candidates to 59 candidates (30.6%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New79685
Fresh000
Picked101
Done000
Total80686

Merged error: 0.5b

Counts
86 → 6

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(* 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.3b
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

rewrite45.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:
4.0ms
(* 3.0 (* a c))
5.0ms
(* (* 3.0 a) c)
14.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))

series105.0ms

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

simplify116.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (95.0ms)

IterNodesCost
06282481
133222152
250022149

prune316.0ms

Filtered
169 candidates to 104 candidates (38.5%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1609169
Fresh505
Picked101
Done000
Total1669175

Merged error: 0b

Counts
175 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
609×times-frac
255×add-sqr-sqrt *-un-lft-identity
159×add-exp-log add-cube-cbrt
117×associate-/l*
94×div-exp
77×add-cbrt-cube
48×distribute-lft-out-- difference-of-squares
40×cbrt-undiv
33×prod-exp
24×distribute-rgt-neg-in sqrt-prod
18×div-inv
15×cbrt-unprod
10×rec-exp 1-exp
pow1
add-log-exp
associate-*r* pow-prod-down
frac-2neg div-sub clear-num associate-/r* associate-/r/ associate-/l/
sub-neg flip3-- diff-log associate-*l* *-commutative flip--
Counts
4 → 341
Calls
4 calls:
3.0ms
(- (* b b) (* (* 3.0 a) c))
5.0ms
(* (* 3.0 a) c)
31.0ms
(/ (/ 1 (/ (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) 3.0) (* a c))) (* 3.0 a))
14.0ms
(/ (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) 3.0) (* a c))

series71.0ms

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

simplify87.0ms

Algorithm
egg-herbie
Counts
353 → 353
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
017325966
150025355

prune638.0ms

Filtered
353 candidates to 185 candidates (47.6%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New3521353
Fresh178
Picked101
Done000
Total3548362

Merged error: 0b

Counts
362 → 8

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
67×add-exp-log
65×add-sqr-sqrt
60×*-un-lft-identity
49×times-frac
37×add-cbrt-cube
32×add-cube-cbrt
28×associate-*l*
26×prod-exp
20×div-exp
14×pow1 distribute-lft-out-- difference-of-squares
12×cbrt-unprod
10×cbrt-undiv associate-*r*
associate-/r*
distribute-rgt-neg-in sqrt-prod
rec-exp 1-exp associate-/l*
pow-prod-down
associate-/r/ div-inv add-log-exp
flip3-- pow-flip frac-2neg clear-num *-commutative flip-- associate-/l/ unswap-sqr
frac-times flip3-+ associate-*r/ associate-*l/ un-div-inv flip-+ inv-pow
Counts
4 → 162
Calls
4 calls:
5.0ms
(* (* 3.0 a) c)
4.0ms
(/ 1 (* 3.0 a))
12.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
19.0ms
(* (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (/ 1 (* 3.0 a)))

series103.0ms

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

simplify141.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 2 (120.0ms)

IterNodesCost
06902221
140271868
250011855

prune240.0ms

Filtered
174 candidates to 101 candidates (42.0%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1740174
Fresh077
Picked011
Done000
Total1748182

Merged error: 0b

Counts
182 → 8

regimes210.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02614
12814
22814

end0.0ms

sample2.1s

Algorithm
intervals
Results
461.0ms16623×pre80true
433.0ms4487×body160valid
424.0ms8623×body80nan
176.0ms3513×body80valid

Profiling

Loading profile data...