Details

Time bar (total: 2.5min)

sample2.4s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0.671387%

Guaranteed chance to sample good point: 66.996436%

Results
13.0ms251×body80valid
1.0ms15×body80invalid
0.0msbody1280valid
0.0msbody320valid
0.0msbody640valid

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: 1.9b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
0.0b
(tanh (/ t y))
0.0b
(tanh (/ x y))
2.2b
(* (* 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:
3.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
2.0ms
(tanh (/ t y))
2.0ms
(tanh (/ x y))
11.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series231.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0509771
12427725
25003725

prune116.0ms

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

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New78482
Fresh000
Picked011
Done000
Total78583

Merged error: 0.5b

Counts
83 → 5

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

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

series203.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04701039
12128970
25003970

prune135.0ms

Filtered
75 candidates to 104 candidates (-38.7%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1022104
Fresh123
Picked011
Done011
Total1036109

Merged error: 0.2b

Counts
109 → 6

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
33×associate-*r/
24×distribute-rgt-in distribute-lft-in
22×pow1 add-exp-log
16×add-cbrt-cube
13×pow-prod-down prod-exp cbrt-unprod
cbrt-prod frac-sub
add-sqr-sqrt add-cube-cbrt sub-neg *-un-lft-identity
tanh-def
add-log-exp
pow1/3 associate-*l*
flip3-- associate-*r* *-commutative flip--
Counts
4 → 87
Calls
4 calls:
1.0ms
(cbrt z)
1.0ms
(cbrt z)
1.0ms
(cbrt z)
19.0ms
(* y (* (* (cbrt z) (cbrt z)) (* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y))))))

series139.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(cbrt z)
23.0ms
(cbrt z)
22.0ms
(cbrt z)
71.0ms
(* y (* (* (cbrt z) (cbrt z)) (* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y))))))

simplify66.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
06441204
12537912
25002856

prune102.0ms

Filtered
59 candidates to 99 candidates (-67.8%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New99099
Fresh033
Picked011
Done022
Total996105

Merged error: 0.2b

Counts
105 → 6

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (tanh (/ x y)) 3)
0.1b
(* (tanh (/ t y)) (tanh (/ t y)))
3.2b
(* (* y z) (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)))
11.8b
(/ (* (* 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))))))

rewrite997.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:
4.0ms
(pow (tanh (/ x y)) 3)
6.0ms
(* (tanh (/ t y)) (tanh (/ t y)))
21.0ms
(* (* y z) (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)))
301.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:
38.0ms
(pow (tanh (/ x y)) 3)
33.0ms
(* (tanh (/ t y)) (tanh (/ t y)))
138.0ms
(* (* y z) (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)))
2.3s
(/ (* (* 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 (177.0ms)

IterNodesCost
013446292197

prune2.3min

Filtered
3544 candidates to 3574 candidates (-0.8%)

Profiling

Loading profile data...