Details

Time bar (total: 13.5s)

sample55.0ms

Algorithm
intervals
Results
13.0ms153×body160valid
10.0ms504×pre80true
8.0ms248×body80nan
5.0ms48×body320valid
2.0ms55×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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: 45.5b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite118.0ms

Algorithm
rewrite-expression-head
Rules
107×*-un-lft-identity
103×add-sqr-sqrt
60×times-frac
42×associate-*l*
39×add-cube-cbrt
28×distribute-lft-out unswap-sqr
24×associate-*r*
15×difference-of-squares
14×add-exp-log distribute-rgt-neg-in add-cbrt-cube
12×associate-/r*
11×*-commutative
10×add-log-exp
pow1
distribute-lft-out--
associate-/l*
prod-exp cbrt-unprod
swap-sqr 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 neg-log clear-num flip-- div-inv
Counts
4 → 173
Calls
4 calls:
25.0ms
(- (* b b) (* (* 3.0 a) c))
7.0ms
(* (* 3.0 a) c)
42.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
37.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series292.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(- (* b b) (* (* 3.0 a) c))
22.0ms
(* (* 3.0 a) c)
120.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
94.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify90.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
06302006
128321901
250011891

prune268.0ms

Filtered
185 candidates to 112 candidates (39.5%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1805185
Fresh000
Picked101
Done000
Total1815186

Merged error: 0.2b

Counts
186 → 5

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 3.0 a) c)
0.3b
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
0.3b
(* 3.0 (* a c))
0.4b
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

rewrite309.0ms

Algorithm
rewrite-expression-head
Rules
1793×*-un-lft-identity
1346×times-frac
919×add-sqr-sqrt
400×distribute-lft-out distribute-lft-out--
393×add-cube-cbrt
389×associate-*l*
200×difference-of-squares
189×associate-*r*
100×distribute-rgt-neg-in sqrt-prod
69×associate-/l*
64×unswap-sqr
60×*-commutative
28×add-exp-log associate-/r/ add-cbrt-cube
26×associate-/r*
23×associate-/l/
15×div-inv
14×pow1 flip3-- flip--
prod-exp cbrt-unprod
cbrt-undiv div-exp
pow-prod-down
add-log-exp
frac-2neg div-sub clear-num
associate-+l- flip3-+ flip-+
Counts
4 → 907
Calls
4 calls:
8.0ms
(* (* 3.0 a) c)
90.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
8.0ms
(* 3.0 (* a c))
116.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series381.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(* (* 3.0 a) c)
189.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
26.0ms
(* 3.0 (* a c))
143.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify252.0ms

Algorithm
egg-herbie
Counts
919 → 919
Iterations

Useful iterations: 1 (43.0ms)

IterNodesCost
0173423796
1500222807

prune1.3s

Filtered
919 candidates to 300 candidates (67.4%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New9127919
Fresh314
Picked101
Done000
Total9168924

Merged error: 0b

Counts
924 → 8

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 3.0 a) c)
0.3b
(* (* 3.0 a) c)
0.3b
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
0.4b
(/ (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

rewrite343.0ms

Algorithm
rewrite-expression-head
Rules
2475×*-un-lft-identity
1710×times-frac
1129×add-sqr-sqrt
840×associate-*l*
600×distribute-lft-out
556×distribute-lft-out--
463×add-cube-cbrt
256×difference-of-squares
222×associate-*r*
128×distribute-rgt-neg-in sqrt-prod
87×associate-/l*
78×unswap-sqr
74×*-commutative
28×add-exp-log associate-/r/ add-cbrt-cube
26×associate-/r*
25×associate-/l/
15×div-inv
14×pow1 flip3-- flip--
prod-exp cbrt-unprod
cbrt-undiv div-exp
pow-prod-down
add-log-exp
frac-2neg div-sub clear-num
associate-+l- flip3-+ flip-+
Counts
4 → 1107
Calls
4 calls:
7.0ms
(* (* 3.0 a) c)
8.0ms
(* (* 3.0 a) c)
92.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
120.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series378.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(* (* 3.0 a) c)
27.0ms
(* (* 3.0 a) c)
186.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
142.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify293.0ms

Algorithm
egg-herbie
Counts
1119 → 1119
Iterations

Useful iterations: 1 (43.0ms)

IterNodesCost
0165828820
1500127475

prune1.1s

Filtered
1119 candidates to 303 candidates (72.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New111721119
Fresh527
Picked011
Done000
Total112251127

Merged error: 0b

Counts
1127 → 5

localize22.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (sqrt (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c)))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
0.3b
(* 3.0 (* a c))
0.3b
(* (sqrt (* (* 3.0 a) c)) (/ (sqrt (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c)))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
0.4b
(/ (* (sqrt (* (* 3.0 a) c)) (/ (sqrt (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c)))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) (* 3.0 a))

rewrite623.0ms

Algorithm
rewrite-expression-head
Rules
2578×times-frac
2539×*-un-lft-identity
2374×add-sqr-sqrt
1520×associate-*r*
1399×sqrt-prod
1139×associate-*l*
845×add-cube-cbrt
522×distribute-lft-out--
473×unswap-sqr
432×distribute-lft-out
306×difference-of-squares
163×*-commutative
153×distribute-rgt-neg-in
150×associate-/l*
44×associate-*r/
37×add-exp-log add-cbrt-cube
33×associate-/r*
30×associate-/r/ associate-/l/
16×div-inv
15×flip3-- flip--
12×prod-exp cbrt-unprod
11×pow1
10×cbrt-undiv div-exp
sqrt-div clear-num
frac-2neg pow-prod-down un-div-inv add-log-exp
flip3-+ flip-+
Counts
4 → 1876
Calls
4 calls:
91.0ms
(/ (sqrt (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c)))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
8.0ms
(* 3.0 (* a c))
140.0ms
(* (sqrt (* (* 3.0 a) c)) (/ (sqrt (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c)))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
187.0ms
(/ (* (sqrt (* (* 3.0 a) c)) (/ (sqrt (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c)))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) (* 3.0 a))

series1.3s

Counts
4 → 12
Calls
4 calls:
333.0ms
(/ (sqrt (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c)))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
22.0ms
(* 3.0 (* a c))
489.0ms
(* (sqrt (* (* 3.0 a) c)) (/ (sqrt (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c)))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
463.0ms
(/ (* (sqrt (* (* 3.0 a) c)) (/ (sqrt (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c)))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) (* 3.0 a))

simplify596.0ms

Algorithm
egg-herbie
Counts
1888 → 1888
Iterations

Useful iterations: 1 (88.0ms)

IterNodesCost
0462660148
1500159947

prune4.1s

Filtered
1888 candidates to 780 candidates (58.7%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New188801888
Fresh033
Picked011
Done011
Total188851893

Merged error: 0b

Counts
1893 → 5

regimes128.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02016
12016

end0.0ms

sample1.5s

Algorithm
intervals
Results
335.0ms4814×body160valid
305.0ms16210×pre80true
280.0ms8210×body80nan
148.0ms1409×body320valid
65.0ms1777×body80valid