Details

Time bar (total: 3.8s)

sample34.0ms

Algorithm
intervals
Results
14.0ms256×body80valid

simplify103.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03210
17110
218410
338110
468210
5110210
6212210
7433710
8500110

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 25.2b

Counts
2 → 1

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) z)
1.0b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
2.1b
(+ (* (+ x y) z) (* (+ t y) a))
23.6b
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

rewrite38.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)
9.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
6.0ms
(+ (* (+ x y) z) (* (+ t y) a))
14.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series208.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* (+ x y) z)
33.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
18.0ms
(+ (* (+ x y) z) (* (+ t y) a))
152.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify64.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
05231089
123081025
250011025

prune162.0ms

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

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New9111102
Fresh000
Picked101
Done000
Total9211103

Merged error: 8.2b

Counts
103 → 11

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) z)
2.1b
(+ (* (+ x y) z) (* (+ t y) a))
8.7b
(/ (* y b) (+ (+ x t) y))
20.1b
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

rewrite37.0ms

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

series110.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05381000
12671922
25001922

prune160.0ms

Filtered
83 candidates to 118 candidates (-42.2%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1144118
Fresh2810
Picked101
Done000
Total11712129

Merged error: 4.4b

Counts
129 → 12

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) z)
2.1b
(+ (* (+ x y) z) (* (+ t y) a))
8.2b
(/ y (/ (+ (+ x t) y) b))
20.1b
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
154×*-un-lft-identity
132×times-frac
74×add-sqr-sqrt
72×add-cube-cbrt
49×distribute-lft-out
24×associate-/r*
18×associate-*l/
13×add-exp-log add-cbrt-cube
12×flip3-+ flip-+
frac-add
pow1 div-inv associate-/l/ associate-/l* add-log-exp
cbrt-undiv div-exp associate-*l*
associate-*r* associate-/r/
frac-2neg clear-num
+-commutative pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
4 → 173
Calls
4 calls:
6.0ms
(* (+ x y) z)
6.0ms
(+ (* (+ x y) z) (* (+ t y) a))
11.0ms
(/ y (/ (+ (+ x t) y) b))
13.0ms
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

series130.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(* (+ x y) z)
23.0ms
(+ (* (+ x y) z) (* (+ t y) a))
29.0ms
(/ y (/ (+ (+ x t) y) b))
67.0ms
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

simplify89.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
07411673
134841591
250011590

prune180.0ms

Filtered
123 candidates to 185 candidates (-50.4%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1823185
Fresh6511
Picked101
Done000
Total1898197

Merged error: 3.3b

Counts
197 → 8

localize18.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ 1 (/ (/ (+ (+ x t) y) b) y))
2.1b
(+ (* (+ x y) z) (* (+ t y) a))
8.2b
(/ (/ (+ (+ x t) y) b) y)
20.1b
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
723×times-frac
580×*-un-lft-identity
320×add-sqr-sqrt add-cube-cbrt
156×distribute-lft-out
69×associate-/r*
32×add-exp-log
25×associate-/l*
23×div-inv
20×add-cbrt-cube
19×div-exp
16×associate-*l/
11×flip3-+ flip-+
10×cbrt-undiv
frac-add
associate-/l/
add-log-exp
pow1
rec-exp frac-2neg 1-exp clear-num associate-/r/
+-commutative pow-flip sum-log inv-pow
Counts
4 → 424
Calls
4 calls:
18.0ms
(/ 1 (/ (/ (+ (+ x t) y) b) y))
6.0ms
(+ (* (+ x y) z) (* (+ t y) a))
11.0ms
(/ (/ (+ (+ x t) y) b) y)
14.0ms
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

series136.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(/ 1 (/ (/ (+ (+ x t) y) b) y))
18.0ms
(+ (* (+ x y) z) (* (+ t y) a))
11.0ms
(/ (/ (+ (+ x t) y) b) y)
68.0ms
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

simplify79.0ms

Algorithm
egg-herbie
Counts
436 → 436
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
013834958
150014462

prune293.0ms

Filtered
237 candidates to 436 candidates (-84.0%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New4360436
Fresh077
Picked011
Done000
Total4368444

Merged error: 3.3b

Counts
444 → 8

regimes805.0ms

Accuracy

58.3% (8.9b remaining)

Error of 12.0b against oracle of 3.1b and baseline of 24.4b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03941
13941

end0.0ms

sample907.0ms

Algorithm
intervals
Results
427.0ms7998×body80valid
0.0msbody640valid

Profiling

Loading profile data...