Details

Time bar (total: 32.9s)

sample24.0ms

Algorithm
intervals
Results
11.0ms270×body80valid
1.0msbody640valid
0.0msbody1280valid
0.0msbody320valid
0.0msbody160valid

simplify1.0s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01215
15415
214115
330515
492415
5298915
done500015

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 4.8b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
11×associate-*r/
frac-sub
pow1 add-exp-log add-cbrt-cube
tanh-def
add-sqr-sqrt *-un-lft-identity
associate-*r* add-log-exp
distribute-rgt-in add-cube-cbrt 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
3 → 60
Calls
3 calls:
1.0ms
(tanh (/ x y))
3.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
28.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series552.0ms

Counts
3 → 9
Calls
3 calls:
77.0ms
(tanh (/ x y))
322.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
153.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify711.0ms

Counts
69 → 69
Iterations

Useful iterations: 2 (223.0ms)

IterNodesCost
01661337
14901279
220821199
done50001199

prune207.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.7b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite70.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:
1.0ms
(tanh (/ x y))
4.0ms
(+ x (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
22.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
40.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series755.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(tanh (/ x y))
320.0ms
(+ x (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
203.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
156.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify654.0ms

Counts
113 → 113
Iterations

Useful iterations: 2 (184.0ms)

IterNodesCost
02022164
15352103
220971981
done50011981

prune312.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.3b

localize15.0ms

Local error

Found 4 expressions with local error:

1.9b
(* y (* (* (cbrt (* z (- (tanh (/ t y)) (tanh (/ x y))))) (cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))) (cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))))
3.5b
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))
3.5b
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))
3.5b
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))

rewrite1.2s

Algorithm
rewrite-expression-head
Rules
6655×associate-*r/
4785×cbrt-div
3915×frac-sub
3025×frac-times
2610×tanh-def
435×flip3-- flip--
275×associate-*l/
13×pow1 add-exp-log
add-cbrt-cube
pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-log-exp
cbrt-prod pow1/3 associate-*l*
associate-*r* *-commutative
Counts
4 → 1808
Calls
4 calls:
665.0ms
(* y (* (* (cbrt (* z (- (tanh (/ t y)) (tanh (/ x y))))) (cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))) (cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))))
12.0ms
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))
12.0ms
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))
12.0ms
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series2.2s

Counts
4 → 12
Calls
4 calls:
187.0ms
(* y (* (* (cbrt (* z (- (tanh (/ t y)) (tanh (/ x y))))) (cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))) (cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))))
587.0ms
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))
588.0ms
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))
814.0ms
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify2.4s

Counts
1820 → 1820
Iterations

Useful iterations: 0 (422.0ms)

IterNodesCost
03817190470
done5000190470

prune20.6s

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.3b

localize14.0ms

Local error

Found 4 expressions with local error:

1.6b
(* (tanh (/ t y)) z)
2.1b
(* (- (tanh (/ x y))) z)
3.7b
(* (* (- (tanh (/ x y))) z) y)
4.8b
(* y (* (tanh (/ t y)) z))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
18×pow1 add-exp-log add-cbrt-cube
17×associate-*l*
16×add-sqr-sqrt
15×associate-*l/
12×add-cube-cbrt *-un-lft-identity
10×associate-*r*
pow-prod-down prod-exp cbrt-unprod
distribute-neg-frac
*-commutative tanh-def add-log-exp
distribute-lft-neg-out distribute-lft-neg-in distribute-rgt-neg-in associate-*r/
unswap-sqr
neg-mul-1
Counts
4 → 93
Calls
4 calls:
8.0ms
(* (tanh (/ t y)) z)
8.0ms
(* (- (tanh (/ x y))) z)
14.0ms
(* (* (- (tanh (/ x y))) z) y)
11.0ms
(* y (* (tanh (/ t y)) z))

series425.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(* (tanh (/ t y)) z)
99.0ms
(* (- (tanh (/ x y))) z)
123.0ms
(* (* (- (tanh (/ x y))) z) y)
107.0ms
(* y (* (tanh (/ t y)) z))

simplify623.0ms

Counts
105 → 105
Iterations

Useful iterations: 2 (201.0ms)

IterNodesCost
01661111
14341078
21739942
done5000942

prune303.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.3b

regimes104.0ms

Accuracy

0% (2.1b remaining)

Error of 2.4b against oracle of 0.3b and baseline of 2.4b

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01542
11942
done1942

end0.0ms

sample579.0ms

Algorithm
intervals
Results
321.0ms8278×body80valid
21.0ms120×body640valid
11.0ms50×body1280valid
7.0ms63×body320valid
5.0ms32×body160valid