Details

Time bar (total: 6.1s)

sample26.0ms

Algorithm
intervals
Results
13.0ms256×body80valid

simplify106.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03210
17110
218410
338110
468210
5110210
6212210
7433710
8500110

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.5b

Counts
2 → 1

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) z)
2.1b
(+ (* (+ x y) z) (* (+ t y) a))
2.7b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
26.7b
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

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

series754.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(* (+ x y) z)
46.0ms
(+ (* (+ x y) z) (* (+ t y) a))
94.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
592.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify65.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05231089
123081025
250011025

prune285.0ms

Filtered
102 candidates to 74 candidates (72.5%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New9012102
Fresh000
Picked101
Done000
Total9112103

Merged error: 9.9b

Counts
103 → 12

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y)) (/ (* y b) (+ (+ x t) y)))
2.1b
(+ (* (+ x y) z) (* (+ t y) a))
8.9b
(/ (* y b) (+ (+ x t) y))
23.2b
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
48×*-un-lft-identity
21×add-sqr-sqrt times-frac
18×distribute-lft-out
16×add-cube-cbrt associate-*l/
14×flip3-+ flip-+
11×add-exp-log add-cbrt-cube
10×associate-/r*
frac-add associate-/r/ add-log-exp
associate-/l/
pow1 div-inv associate-/l*
cbrt-undiv distribute-rgt-out-- div-exp
frac-2neg clear-num difference-of-squares
+-commutative sub-neg flip3-- diff-log prod-exp sum-log frac-sub flip-- cbrt-unprod distribute-lft-out-- sub-div
Counts
4 → 105
Calls
4 calls:
31.0ms
(- (/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y)) (/ (* y b) (+ (+ x t) y)))
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))

series1.1s

Counts
4 → 12
Calls
4 calls:
710.0ms
(- (/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y)) (/ (* y b) (+ (+ x t) y)))
49.0ms
(+ (* (+ x y) z) (* (+ t y) a))
73.0ms
(/ (* y b) (+ (+ x t) y))
220.0ms
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

simplify76.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
05621293
126741218
250031218

prune324.0ms

Filtered
117 candidates to 84 candidates (71.8%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1134117
Fresh3811
Picked011
Done000
Total11613129

Merged error: 6.3b

Counts
129 → 13

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ (+ x t) y) b)
2.1b
(+ (* (+ x y) z) (* (+ t y) a))
7.4b
(/ y (/ (+ (+ x t) y) b))
23.2b
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
180×*-un-lft-identity
147×times-frac
80×add-sqr-sqrt add-cube-cbrt
60×distribute-lft-out
27×associate-/r*
16×associate-*l/
13×add-exp-log add-cbrt-cube
12×flip3-+ flip-+
11×associate-/l*
frac-add associate-/l/
div-inv
add-log-exp
cbrt-undiv div-exp
pow1
frac-2neg clear-num associate-/r/
+-commutative sum-log
Counts
4 → 189
Calls
4 calls:
8.0ms
(/ (+ (+ x t) y) b)
7.0ms
(+ (* (+ x y) z) (* (+ t y) a))
10.0ms
(/ y (/ (+ (+ x t) y) b))
14.0ms
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

series434.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(/ (+ (+ x t) y) b)
47.0ms
(+ (* (+ x y) z) (* (+ t y) a))
149.0ms
(/ y (/ (+ (+ x t) y) b))
214.0ms
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

simplify99.0ms

Algorithm
egg-herbie
Counts
201 → 201
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
07261823
134781734
250011733

prune506.0ms

Filtered
201 candidates to 133 candidates (66.2%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1983201
Fresh2911
Picked101
Done011
Total20113214

Merged error: 4.5b

Counts
214 → 13

localize16.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ 1 (/ (/ (+ (+ x t) y) b) y))
2.1b
(+ (* (+ x y) z) (* (+ t y) a))
7.4b
(/ (/ (+ (+ x t) y) b) y)
23.2b
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

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

series469.0ms

Counts
4 → 12
Calls
4 calls:
164.0ms
(/ 1 (/ (/ (+ (+ x t) y) b) y))
51.0ms
(+ (* (+ x y) z) (* (+ t y) a))
33.0ms
(/ (/ (+ (+ x t) y) b) y)
220.0ms
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

simplify80.0ms

Algorithm
egg-herbie
Counts
436 → 436
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
013834958
150014462

prune921.0ms

Filtered
436 candidates to 237 candidates (54.4%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New4351436
Fresh11011
Picked101
Done011
Total43712449

Merged error: 4.5b

Counts
449 → 12

regimes550.0ms

bsearch3.0ms

Profiling

Loading profile data...