Details

Time bar (total: 3.8s)

analyze268.0ms

Algorithm
search

sample40.0ms

Algorithm
intervals
Results
14.0ms147×body160valid
8.0ms296×pre80true
5.0ms109×body80valid
2.0ms40×body80nan

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.2b

Counts
2 → 1

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

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

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

simplify55.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0417711
11922611
25001602

prune124.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.5b

Counts
86 → 5

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.4b
(/ (/ (+ 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:
5.0ms
(* 3.0 (* a c))
5.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))

series107.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* 3.0 (* a c))
3.0ms
(* (* 3.0 a) c)
55.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))))) (* 3.0 a))

simplify118.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (97.0ms)

IterNodesCost
06282481
133222152
250022149

prune320.0ms

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

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New15514169
Fresh404
Picked101
Done000
Total16014174

Merged error: 0b

Counts
174 → 14

localize13.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.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
associate-*r* pow-prod-down associate-/r/
div-inv add-log-exp
flip3-- flip-- associate-/l/
frac-2neg associate-*l* clear-num *-commutative
flip3-+ flip-+
Counts
4 → 157
Calls
4 calls:
4.0ms
(* (* 3.0 a) c)
5.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))

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

simplify108.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
05712482
130602153
250032150

prune278.0ms

Filtered
101 candidates to 169 candidates (-67.3%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1654169
Fresh7613
Picked101
Done000
Total17310183

Merged error: 0b

Counts
183 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
157×add-exp-log
97×add-cbrt-cube
76×prod-exp
46×div-exp
44×cbrt-unprod
26×cbrt-undiv
15×add-sqr-sqrt
14×pow1
13×*-un-lft-identity
10×associate-*r*
add-cube-cbrt
rec-exp 1-exp
associate-*l*
times-frac pow-prod-down associate-/r/
frac-times flip3-- associate-*r/ flip-- associate-/l* add-log-exp
div-inv
distribute-rgt-in sub-neg pow-flip frac-2neg distribute-lft-in associate-*l/ clear-num associate-/r* *-commutative distribute-lft-out-- difference-of-squares
distribute-rgt-neg-in sqrt-prod inv-pow unswap-sqr
Counts
4 → 145
Calls
4 calls:
5.0ms
(* (* 3.0 a) c)
17.0ms
(* (/ (* 3.0 a) (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
20.0ms
(/ 1 (* (/ (* 3.0 a) (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
7.0ms
(/ (* 3.0 a) (* (* 3.0 a) c))

series78.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
07442045
150011212

prune146.0ms

Filtered
75 candidates to 157 candidates (-109.3%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1552157
Fresh279
Picked011
Done000
Total15710167

Merged error: 0b

Counts
167 → 10

regimes304.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02511
12911
22911

end0.0ms

analyze265.0ms

Algorithm
search

sample1.1s

Algorithm
intervals
Results
440.0ms4452×body160valid
262.0ms8949×pre80true
180.0ms3548×body80valid
46.0ms949×body80nan

Profiling

Loading profile data...