Details

Time bar (total: 8.3s)

sample25.0ms

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

simplify851.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01215
15415
214115
330715
493015
5306515
done500015

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.8b

localize15.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))))

rewrite34.0ms

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

series456.0ms

Counts
3 → 9
Calls
3 calls:
79.0ms
(tanh (/ t y))
220.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
157.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify598.0ms

Counts
77 → 77
Iterations

Useful iterations: 2 (145.0ms)

IterNodesCost
01571726
15011702
221321608
done50011608

prune232.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.6b

localize11.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))))
5.5b
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
33×associate-*r/
27×frac-sub
19×tanh-def
13×add-sqr-sqrt
11×pow1 add-exp-log *-un-lft-identity add-cbrt-cube
10×distribute-rgt-in distribute-lft-in
add-cube-cbrt sub-neg
associate-*r* associate-*l* add-log-exp
pow-prod-down prod-exp cbrt-unprod
flip3-- flip--
*-commutative distribute-lft-out-- difference-of-squares
diff-log unswap-sqr
Counts
4 → 105
Calls
4 calls:
1.0ms
(tanh (/ t y))
6.0ms
(- (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)))))

series654.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(tanh (/ t y))
215.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
206.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
155.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify582.0ms

Counts
117 → 117
Iterations

Useful iterations: 2 (148.0ms)

IterNodesCost
01912513
15452486
221352350
done50002350

prune339.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.4b

localize14.0ms

Local error

Found 4 expressions with local error:

1.6b
(* (tanh (/ t y)) z)
1.7b
(* (- (tanh (/ x y))) z)
4.9b
(* (* (tanh (/ t y)) z) y)
6.7b
(* y (* (- (tanh (/ x y))) z))

rewrite42.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-in distribute-rgt-neg-in associate-*r/
distribute-lft-neg-out unswap-sqr
neg-mul-1 distribute-rgt-neg-out
Counts
4 → 93
Calls
4 calls:
5.0ms
(* (tanh (/ t y)) z)
8.0ms
(* (- (tanh (/ x y))) z)
12.0ms
(* (* (tanh (/ t y)) z) y)
14.0ms
(* y (* (- (tanh (/ x y))) z))

series414.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(* (tanh (/ t y)) z)
97.0ms
(* (- (tanh (/ x y))) z)
109.0ms
(* (* (tanh (/ t y)) z) y)
113.0ms
(* y (* (- (tanh (/ x y))) z))

simplify580.0ms

Counts
105 → 105
Iterations

Useful iterations: 2 (122.0ms)

IterNodesCost
01641110
14391078
21874942
done5001942

prune306.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* (tanh (/ t y)) z) y) (* (* y (- (tanh (/ x y)))) z))
1.6b
(* (tanh (/ t y)) z)
4.9b
(* (* (tanh (/ t y)) z) y)
6.0b
(* y (- (tanh (/ x y))))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
36×associate-*l/
16×associate-*r*
15×add-sqr-sqrt
13×pow1 add-exp-log add-cbrt-cube
12×associate-*r/ distribute-neg-frac
11×add-cube-cbrt *-un-lft-identity
frac-add tanh-def
associate-*l*
add-log-exp
pow-prod-down prod-exp cbrt-unprod
distribute-lft-neg-in distribute-rgt-neg-in *-commutative distribute-rgt-neg-out
distribute-lft-neg-out unswap-sqr
+-commutative neg-mul-1 flip3-+ unsub-neg sum-log flip-+
Counts
4 → 93
Calls
4 calls:
16.0ms
(+ (* (* (tanh (/ t y)) z) y) (* (* y (- (tanh (/ x y)))) z))
5.0ms
(* (tanh (/ t y)) z)
12.0ms
(* (* (tanh (/ t y)) z) y)
8.0ms
(* y (- (tanh (/ x y))))

series750.0ms

Counts
4 → 12
Calls
4 calls:
465.0ms
(+ (* (* (tanh (/ t y)) z) y) (* (* y (- (tanh (/ x y)))) z))
101.0ms
(* (tanh (/ t y)) z)
112.0ms
(* (* (tanh (/ t y)) z) y)
71.0ms
(* y (- (tanh (/ x y))))

simplify1.2s

Counts
105 → 105
Iterations

Useful iterations: done (1.2s)

IterNodesCost
02101757
16581702
230091567
done50011557

prune319.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

regimes127.0ms

Accuracy

73% (1.1b remaining)

Error of 1.3b against oracle of 0.2b and baseline of 4.3b

bsearch2.0ms

simplify8.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03081
14781
25781
36181
done6181

end0.0ms

sample580.0ms

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