Details

Time bar (total: 3.5s)

sample60.0ms

Algorithm
intervals
Results
14.0ms256×body80valid

simplify99.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03210
17110
218410
338110
468210
5110210
6212210
7433710
8500110

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.2b

Counts
2 → 1

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) z)
1.6b
(+ (* (+ x y) z) (* (+ t y) a))
3.3b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
26.2b
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
18×add-sqr-sqrt
16×add-cube-cbrt
15×times-frac
13×distribute-lft-out
11×add-log-exp
10×associate-*l/
add-exp-log add-cbrt-cube
flip3-+ flip-+
pow1
associate-/r*
associate-*l* frac-add
associate-*r* associate-/l*
flip3-- diff-log sum-log associate-/r/ flip-- associate-/l/
cbrt-undiv +-commutative sub-neg frac-2neg div-sub div-exp pow-prod-down prod-exp associate--l+ clear-num *-commutative cbrt-unprod div-inv unswap-sqr
Counts
4 → 90
Calls
4 calls:
6.0ms
(* (+ x y) z)
6.0ms
(+ (* (+ x y) z) (* (+ t y) a))
9.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
14.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series204.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* (+ x y) z)
19.0ms
(+ (* (+ x y) z) (* (+ t y) a))
31.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
148.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify63.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
05231089
123081025
250011025

prune157.0ms

Filtered
74 candidates to 102 candidates (-37.8%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New9111102
Fresh000
Picked011
Done000
Total9112103

Merged error: 7.3b

Counts
103 → 12

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))
1.6b
(+ (* (+ x y) z) (* (+ t y) a))
3.3b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
26.3b
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
152×*-un-lft-identity
138×times-frac
72×add-sqr-sqrt add-cube-cbrt
48×distribute-lft-out
24×associate-/r*
17×add-exp-log
11×associate-/r/ add-cbrt-cube add-log-exp
div-exp associate-*l/ associate-/l*
flip3-- flip3-+ flip-- flip-+ div-inv
pow1
cbrt-undiv frac-add
rec-exp frac-2neg diff-log 1-exp clear-num sum-log associate-/l/
+-commutative sub-neg pow-flip associate--l+ inv-pow
Counts
4 → 176
Calls
4 calls:
17.0ms
(/ 1 (/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))
6.0ms
(+ (* (+ x y) z) (* (+ t y) a))
9.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
14.0ms
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

series229.0ms

Counts
4 → 12
Calls
4 calls:
133.0ms
(/ 1 (/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))
17.0ms
(+ (* (+ x y) z) (* (+ t y) a))
29.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
49.0ms
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

simplify90.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
07033188
133552977
250022859

prune161.0ms

Filtered
91 candidates to 188 candidates (-106.6%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1853188
Fresh3710
Picked011
Done011
Total18812200

Merged error: 2.8b

Counts
200 → 12

localize4.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune39.0ms

Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New000
Fresh099
Picked011
Done022
Total01212

Merged error: 2.8b

Counts
12 → 12

localize16.0ms

Local error

Found 4 expressions with local error:

0.7b
(/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
1.6b
(+ (* (+ x y) z) (* (+ t y) a))
3.3b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
25.4b
(* (+ (+ x t) y) (/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
26×*-un-lft-identity
20×add-cube-cbrt times-frac
17×add-exp-log
15×associate-*r*
11×add-cbrt-cube add-log-exp
10×associate-*l/
pow1 flip3-+ flip-+
associate-*l*
div-exp frac-add prod-exp associate-/r/
flip3-- associate-/r* flip-- distribute-lft-out associate-/l* unswap-sqr
cbrt-undiv frac-times rec-exp diff-log 1-exp sum-log cbrt-unprod div-inv
+-commutative sub-neg pow-flip frac-2neg associate-*r/ pow-prod-down associate--l+ clear-num un-div-inv *-commutative inv-pow
Counts
4 → 106
Calls
4 calls:
12.0ms
(/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
7.0ms
(+ (* (+ x y) z) (* (+ t y) a))
9.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
18.0ms
(* (+ (+ x t) y) (/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))

series116.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
19.0ms
(+ (* (+ x y) z) (* (+ t y) a))
30.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
39.0ms
(* (+ (+ x t) y) (/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))

simplify70.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
05701401
128571266
250031240

prune113.0ms

Filtered
76 candidates to 118 candidates (-55.3%)
Pruning

12 alts after pruning (8 fresh and 4 done)

PrunedKeptTotal
New1171118
Fresh178
Picked011
Done033
Total11812130

Merged error: 2.8b

Counts
130 → 12

regimes1.1s

Accuracy

83.8% (3.9b remaining)

Error of 8.2b against oracle of 4.3b and baseline of 28.5b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03632
13632

end0.0ms

sample874.0ms

Algorithm
intervals
Results
445.0ms7997×body80valid
0.0msbody160valid

Profiling

Loading profile data...