Details

Time bar (total: 2.5min)

sample31.0ms

Algorithm
intervals
Results
13.0ms265×body80valid
0.0msbody1280valid
0.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify75.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0548
11418
23258
39798
437008
550018

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 3.4b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ x y))
0.0b
(tanh (/ t y))
0.0b
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
3.7b
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
11×associate-*r/
pow1 add-exp-log frac-sub add-cbrt-cube
tanh-def
add-sqr-sqrt *-un-lft-identity
add-log-exp
add-cube-cbrt associate-*r*
distribute-rgt-in sub-neg associate-+r+ distribute-lft-in
pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-- flip3-+ associate-*l* sum-log *-commutative flip-- flip-+ distribute-lft-out-- difference-of-squares
Counts
4 → 70
Calls
4 calls:
2.0ms
(tanh (/ x y))
2.0ms
(tanh (/ t y))
3.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
11.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series233.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(tanh (/ x y))
27.0ms
(tanh (/ t y))
110.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
69.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify62.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0509771
12427725
25003725

prune125.0ms

Filtered
63 candidates to 82 candidates (-30.2%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New76682
Fresh000
Picked011
Done000
Total76783

Merged error: 0.2b

Counts
83 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
0.0b
(+ x (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
0.6b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
4.1b
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
33×associate-*r/
18×distribute-rgt-in distribute-lft-in frac-sub
13×tanh-def
11×pow1 add-exp-log add-sqr-sqrt add-cbrt-cube
10×sub-neg
*-un-lft-identity
associate-+r+
add-cube-cbrt
associate-*r* associate-*l* add-log-exp
pow-prod-down prod-exp cbrt-unprod
flip3-- *-commutative flip--
+-commutative flip3-+ sum-log flip-+ distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 101
Calls
4 calls:
2.0ms
(tanh (/ t y))
4.0ms
(+ x (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
10.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
11.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series291.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(tanh (/ t y))
111.0ms
(+ x (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
88.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
66.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify68.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
05441169
124201098
250021098

prune141.0ms

Filtered
78 candidates to 113 candidates (-44.9%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1121113
Fresh055
Picked011
Done011
Total1128120

Merged error: 0.2b

Counts
120 → 8

localize15.0ms

Local error

Found 4 expressions with local error:

3.7b
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
6.8b
(cbrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
6.8b
(cbrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
6.8b
(cbrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
44×associate-*r/
36×frac-sub
33×cbrt-div
24×tanh-def
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity
add-cube-cbrt associate-*r*
flip3-- flip-- add-log-exp
cbrt-prod pow1/3 pow-prod-down prod-exp cbrt-unprod
distribute-rgt-in sub-neg distribute-lft-in
associate-*l* *-commutative distribute-lft-out-- difference-of-squares
Counts
4 → 95
Calls
4 calls:
11.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
10.0ms
(cbrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
12.0ms
(cbrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
10.0ms
(cbrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))

series511.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
148.0ms
(cbrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
147.0ms
(cbrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
151.0ms
(cbrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))

simplify66.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05591964
123791868
250031856

prune203.0ms

Filtered
91 candidates to 107 candidates (-17.6%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New1061107
Fresh055
Picked011
Done022
Total1069115

Merged error: 0.2b

Counts
115 → 9

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (tanh (/ t y)) (tanh (/ t y)))
0.1b
(pow (tanh (/ t y)) 3)
3.6b
(* (* y z) (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)))
10.5b
(/ (* (* y z) (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3))) (+ (* (tanh (/ t y)) (tanh (/ t y))) (+ (* (tanh (/ x y)) (tanh (/ x y))) (* (tanh (/ t y)) (tanh (/ x y))))))

rewrite971.0ms

Algorithm
rewrite-expression-head
Rules
6780×frac-add
6102×frac-times
5437×tanh-def
3407×associate-/r/
2056×associate-*r/
2034×associate-*l/
40×add-sqr-sqrt
39×cube-div
28×associate-*r*
24×*-un-lft-identity
21×add-exp-log add-cbrt-cube
18×frac-sub
17×pow1
16×flip3-+ flip-+ difference-of-squares
15×unpow-prod-down cube-prod
14×add-cube-cbrt
11×associate-/l/
sqr-pow
prod-exp cbrt-unprod
distribute-lft-out--
associate-*l* pow-prod-down add-log-exp
cbrt-undiv pow-unpow times-frac swap-sqr div-exp associate-/r*
distribute-rgt-in sub-neg flip3-- distribute-lft-in *-commutative flip--
difference-cubes pow2 cube-mult pow-to-exp pow-pow frac-2neg pow-plus unpow3 pow-exp clear-num pow-sqr pow-prod-up div-inv associate-/l* rem-cube-cbrt unswap-sqr
Counts
4 → 3562
Calls
4 calls:
6.0ms
(* (tanh (/ t y)) (tanh (/ t y)))
3.0ms
(pow (tanh (/ t y)) 3)
20.0ms
(* (* y z) (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)))
288.0ms
(/ (* (* y z) (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3))) (+ (* (tanh (/ t y)) (tanh (/ t y))) (+ (* (tanh (/ x y)) (tanh (/ x y))) (* (tanh (/ t y)) (tanh (/ x y))))))

series2.5s

Counts
4 → 12
Calls
4 calls:
32.0ms
(* (tanh (/ t y)) (tanh (/ t y)))
40.0ms
(pow (tanh (/ t y)) 3)
145.0ms
(* (* y z) (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)))
2.2s
(/ (* (* y z) (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3))) (+ (* (tanh (/ t y)) (tanh (/ t y))) (+ (* (tanh (/ x y)) (tanh (/ x y))) (* (tanh (/ t y)) (tanh (/ x y))))))

simplify2.6s

Algorithm
egg-herbie
Counts
3574 → 3574
Iterations

Useful iterations: 0 (170.0ms)

IterNodesCost
013443292176

prune2.4min

Filtered
3538 candidates to 3574 candidates (-1.0%)

Profiling

Loading profile data...