Details

Time bar (total: 23.8s)

sample42.0ms

Algorithm
intervals
Results
16.0ms265×body80valid
1.0msbody320valid
1.0msbody640valid
0.0msbody160valid

simplify2.3s

Counts
1 → 1
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
01215
15415
214714
333414
4101214
5484414
done500014

prune13.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 1.6b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ x y))
0.0b
(tanh (/ t y))
0.8b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
1.5b
(* z (- (tanh (/ t y)) (tanh (/ x y))))

rewrite67.0ms

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

series859.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(tanh (/ x y))
104.0ms
(tanh (/ t y))
335.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
325.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify1.2s

Counts
101 → 101
Iterations

Useful iterations: done (1.2s)

IterNodesCost
02052180
15081819
220771569
done50001413

prune589.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.1b

localize28.0ms

Local error

Found 4 expressions with local error:

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

rewrite99.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt *-un-lft-identity
27×prod-diff
24×add-cube-cbrt
18×frac-sub
14×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 pow-prod-down prod-exp cbrt-unprod
flip3-- flip-- distribute-lft-out-- difference-of-squares
diff-log associate-*l* *-commutative
Counts
4 → 116
Calls
4 calls:
4.0ms
(tanh (/ x y))
15.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
2.0ms
(tanh (/ t y))
72.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series843.0ms

Counts
4 → 12
Calls
4 calls:
142.0ms
(tanh (/ x y))
347.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
105.0ms
(tanh (/ t y))
248.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify2.0s

Counts
128 → 128
Iterations

Useful iterations: done (2.0s)

IterNodesCost
02173360
16702813
237842455
done50002449

prune745.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize27.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ x y))
0.0b
(tanh (/ x y))
0.0b
(tanh (/ t y))
2.4b
(* y (- (tanh (/ t y)) (tanh (/ x y))))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
20×*-un-lft-identity
18×add-cube-cbrt prod-diff
11×distribute-rgt-in distribute-lft-in associate-*r/
frac-sub tanh-def
pow1 add-exp-log add-cbrt-cube
associate-*r*
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*l*
sub-neg
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 91
Calls
4 calls:
2.0ms
(tanh (/ x y))
2.0ms
(tanh (/ x y))
2.0ms
(tanh (/ t y))
58.0ms
(* y (- (tanh (/ t y)) (tanh (/ x y))))

series597.0ms

Counts
4 → 12
Calls
4 calls:
120.0ms
(tanh (/ x y))
124.0ms
(tanh (/ x y))
106.0ms
(tanh (/ t y))
246.0ms
(* y (- (tanh (/ t y)) (tanh (/ x y))))

simplify1.6s

Counts
103 → 103
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01902109
14821736
220891516
done50011358

prune722.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize53.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (tanh (/ x y)) (tanh (/ x y)))
0.1b
(* (tanh (/ t y)) (tanh (/ t y)))
5.1b
(/ (* (* y z) (- (* (tanh (/ t y)) (tanh (/ t y))) (* (tanh (/ x y)) (tanh (/ x y))))) (+ (tanh (/ t y)) (tanh (/ x y))))
7.2b
(* (* y z) (- (* (tanh (/ t y)) (tanh (/ t y))) (* (tanh (/ x y)) (tanh (/ x y)))))

rewrite660.0ms

Algorithm
rewrite-expression-head
Rules
640×associate-*r/
558×frac-times
502×tanh-def
450×frac-sub
227×associate-/l/
186×associate-*l/
23×pow1
22×add-exp-log add-cbrt-cube
19×add-sqr-sqrt *-un-lft-identity
15×add-cube-cbrt
11×associate-/r/
10×associate-*r*
frac-add
prod-exp cbrt-unprod
associate-*l*
swap-sqr
pow-prod-down
expm1-log1p-u times-frac associate-/r* log1p-expm1-u add-log-exp
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp *-commutative
pow2 sub-neg flip3-- pow-plus prod-diff pow-sqr pow-prod-up flip-- distribute-lft-out unswap-sqr
frac-2neg flip3-+ clear-num flip-+ div-inv associate-/l* difference-of-squares
Counts
4 → 603
Calls
4 calls:
27.0ms
(* (tanh (/ x y)) (tanh (/ x y)))
24.0ms
(* (tanh (/ t y)) (tanh (/ t y)))
220.0ms
(/ (* (* y z) (- (* (tanh (/ t y)) (tanh (/ t y))) (* (tanh (/ x y)) (tanh (/ x y))))) (+ (tanh (/ t y)) (tanh (/ x y))))
288.0ms
(* (* y z) (- (* (tanh (/ t y)) (tanh (/ t y))) (* (tanh (/ x y)) (tanh (/ x y)))))

series2.1s

Counts
4 → 12
Calls
4 calls:
142.0ms
(* (tanh (/ x y)) (tanh (/ x y)))
131.0ms
(* (tanh (/ t y)) (tanh (/ t y)))
1.5s
(/ (* (* y z) (- (* (tanh (/ t y)) (tanh (/ t y))) (* (tanh (/ x y)) (tanh (/ x y))))) (+ (tanh (/ t y)) (tanh (/ x y))))
355.0ms
(* (* y z) (- (* (tanh (/ t y)) (tanh (/ t y))) (* (tanh (/ x y)) (tanh (/ x y)))))

simplify1.1s

Counts
615 → 615
Iterations

Useful iterations: done (1.1s)

IterNodesCost
0139528904
done500028132

prune6.4s

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes216.0ms

Accuracy

0% (1.5b remaining)

Error of 1.5b against oracle of 0.1b and baseline of 1.5b

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01726
12426
done2426

end0.0ms

sample1.5s

Algorithm
intervals
Results
884.0ms8317×body80valid
33.0ms106×body640valid
20.0ms46×body1280valid
13.0ms61×body320valid
5.0ms35×body160valid