Details

Time bar (total: 58.5s)

sample23.0ms

Algorithm
intervals
Results
10.0ms258×body80valid
1.0msbody1280valid
0.0msbody640valid
0.0msbody160valid

simplify1.1s

Counts
1 → 1
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
01215
15415
214614
331314
494614
5298114
done500014

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.6b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
29×*-un-lft-identity
27×prod-diff
25×add-cube-cbrt
18×frac-sub
13×tanh-def
11×distribute-rgt-in distribute-lft-in associate-*r/
pow1 add-exp-log add-cbrt-cube add-log-exp
associate-*r*
expm1-log1p-u log1p-expm1-u
sub-neg fma-neg associate-*l*
flip3-- flip-- distribute-lft-out-- difference-of-squares
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
4 → 114
Calls
4 calls:
1.0ms
(tanh (/ t y))
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
25.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

series981.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(tanh (/ t y))
428.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
218.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
256.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify603.0ms

Counts
126 → 126
Iterations

Useful iterations: 2 (216.0ms)

IterNodesCost
02173259
15432726
217292366
done50002366

prune372.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.2b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
1.0b
(fma y (+ (* (tanh (/ t y)) z) (* (- (tanh (/ x y))) z)) x)
1.6b
(* (tanh (/ t y)) z)
1.7b
(* (- (tanh (/ x y))) z)

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
13×associate-*l*
10×add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube
associate-*r* associate-*l/
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in distribute-neg-frac tanh-def
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
distribute-lft-neg-out neg-mul-1 fma-udef
Counts
4 → 76
Calls
4 calls:
1.0ms
(tanh (/ t y))
0.0ms
(fma y (+ (* (tanh (/ t y)) z) (* (- (tanh (/ x y))) z)) x)
5.0ms
(* (tanh (/ t y)) z)
8.0ms
(* (- (tanh (/ x y))) z)

series540.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(tanh (/ t y))
252.0ms
(fma y (+ (* (tanh (/ t y)) z) (* (- (tanh (/ x y))) z)) x)
101.0ms
(* (tanh (/ t y)) z)
102.0ms
(* (- (tanh (/ x y))) z)

simplify440.0ms

Counts
88 → 88
Iterations

Useful iterations: 2 (97.0ms)

IterNodesCost
0143953
1337911
21130814
done5001814

prune293.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.2b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt *-un-lft-identity prod-diff
23×add-cube-cbrt
18×frac-sub
13×tanh-def
11×distribute-rgt-in distribute-lft-in associate-*r/
pow1 add-exp-log add-cbrt-cube
associate-*r* add-log-exp
expm1-log1p-u sub-neg fma-neg pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
flip3-- flip-- distribute-lft-out-- difference-of-squares
diff-log associate-*l* *-commutative
Counts
3 → 104
Calls
3 calls:
1.0ms
(tanh (/ t y))
10.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
26.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series469.0ms

Counts
3 → 9
Calls
3 calls:
82.0ms
(tanh (/ t y))
230.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
156.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify886.0ms

Counts
113 → 113
Iterations

Useful iterations: 2 (375.0ms)

IterNodesCost
02093221
16302684
224752320
done50012320

prune295.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.2b

localize24.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (tanh (/ t y)) 3)
0.3b
(* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)))
1.0b
(fma 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)))))) x)
13.2b
(/ (* 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))))))

rewrite1.2s

Algorithm
rewrite-expression-head
Rules
6780×frac-add
6093×frac-times
5429×tanh-def
3407×associate-/r/
2053×associate-*r/
2031×associate-*l/
288×prod-diff
181×add-sqr-sqrt
165×*-un-lft-identity
159×unpow-prod-down cube-prod
155×add-cube-cbrt
146×distribute-rgt-in distribute-lft-in
57×sqr-pow
49×cube-mult unpow3
39×cube-div
25×associate-*r*
18×frac-sub
16×flip3-+ flip-+ difference-of-squares
12×add-exp-log add-cbrt-cube
11×associate-/l/
pow1
distribute-lft-out--
expm1-log1p-u log1p-expm1-u add-log-exp
pow-unpow times-frac associate-*l* associate-/r*
cbrt-undiv sub-neg flip3-- div-exp prod-exp flip-- cbrt-unprod
difference-cubes pow-to-exp pow-pow frac-2neg pow-prod-down pow-exp clear-num *-commutative fma-udef div-inv associate-/l* rem-cube-cbrt unswap-sqr
Counts
4 → 3824
Calls
4 calls:
2.0ms
(pow (tanh (/ t y)) 3)
97.0ms
(* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)))
0.0ms
(fma 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)))))) x)
385.0ms
(/ (* 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))))))

series7.5s

Counts
4 → 12
Calls
4 calls:
121.0ms
(pow (tanh (/ t y)) 3)
905.0ms
(* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)))
2.9s
(fma 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)))))) x)
3.6s
(/ (* 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))))))

simplify4.4s

Counts
3836 → 3836
Iterations

Useful iterations: 0 (1.2s)

IterNodesCost
013729515835
done13729515835

prune38.4s

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.2b

regimes131.0ms

Accuracy

0% (1.6b remaining)

Error of 2.0b against oracle of 0.4b and baseline of 2.0b

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01317
11817
22117
32217
done2217

end0.0ms

sample579.0ms

Algorithm
intervals
Results
330.0ms8303×body80valid
12.0ms77×body640valid
12.0ms53×body1280valid
7.0ms62×body320valid
3.0ms43×body160valid