Details

Time bar (total: 3.8s)

sample35.0ms

Algorithm
intervals
Results
14.0ms256×body80valid

simplify100.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03210
17110
218410
338110
468210
5110210
6212210
7433710
8500110

prune8.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: 25.2b

Counts
2 → 1

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

rewrite41.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)
10.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
7.0ms
(+ (* (+ x y) z) (* (+ t y) a))
16.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series202.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(* (+ x y) z)
30.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
17.0ms
(+ (* (+ x y) z) (* (+ t y) a))
147.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify68.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05231089
123081025
250011025

prune161.0ms

Filtered
102 candidates to 74 candidates (27.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New9111102
Fresh000
Picked101
Done000
Total9211103

Merged error: 8.2b

Counts
103 → 11

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

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

series101.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* (+ x y) z)
16.0ms
(+ (* (+ x y) z) (* (+ t y) a))
17.0ms
(/ (* y b) (+ (+ x t) y))
62.0ms
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

simplify65.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05381000
12671922
25001922

prune154.0ms

Filtered
118 candidates to 83 candidates (29.7%)
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))

rewrite46.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)
7.0ms
(+ (* (+ x y) z) (* (+ t y) a))
10.0ms
(/ y (/ (+ (+ x t) y) b))
15.0ms
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

series112.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* (+ x y) z)
16.0ms
(+ (* (+ x y) z) (* (+ t y) a))
28.0ms
(/ y (/ (+ (+ x t) y) b))
63.0ms
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

simplify86.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
07411673
134841591
250011590

prune178.0ms

Filtered
185 candidates to 123 candidates (33.5%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1823185
Fresh6511
Picked101
Done000
Total1898197

Merged error: 3.3b

Counts
197 → 8

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

rewrite84.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:
19.0ms
(/ 1 (/ (/ (+ (+ x t) y) b) y))
7.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))

series129.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(/ 1 (/ (/ (+ (+ x t) y) b) y))
16.0ms
(+ (* (+ x y) z) (* (+ t y) a))
10.0ms
(/ (/ (+ (+ x t) y) b) y)
65.0ms
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

simplify76.0ms

Algorithm
egg-herbie
Counts
436 → 436
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
013834958
150014462

prune283.0ms

Filtered
436 candidates to 237 candidates (45.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New4360436
Fresh077
Picked011
Done000
Total4368444

Merged error: 3.3b

Counts
444 → 8

regimes831.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

sample969.0ms

Algorithm
intervals
Results
459.0ms7998×body80valid
0.0msbody640valid

Profiling

Loading profile data...