Details

Time bar (total: 10.3s)

sample170.0ms

Algorithm
intervals
Results
98.0ms120×body1280valid
26.0ms60×body640valid
10.0ms256×pre80true
9.0ms32×body320valid
3.0ms37×body80valid
1.0msbody160valid

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1225
2335
3395
4505
5705
6995
71245
81665
92595
102605
112605

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.1b

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
3.2b
(tan (+ y z))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
19×add-sqr-sqrt
18×prod-diff
17×add-cube-cbrt
11×associate-+r+
10×add-log-exp
tan-quot
pow1 add-exp-log expm1-log1p-u fma-def fma-neg add-cbrt-cube log1p-expm1-u
sub-neg tan-sum diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 72
Calls
3 calls:
8.0ms
(+ x (- (tan (+ y z)) (tan a)))
8.0ms
(- (tan (+ y z)) (tan a))
3.0ms
(tan (+ y z))

series280.0ms

Counts
3 → 9
Calls
3 calls:
114.0ms
(+ x (- (tan (+ y z)) (tan a)))
111.0ms
(- (tan (+ y z)) (tan a))
54.0ms
(tan (+ y z))

simplify89.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (81.0ms)

IterNodesCost
0276685
1732540
23128507
35001488

prune223.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize24.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
0.2b
(- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a)))
0.2b
(* (tan y) (tan z))
0.2b
(* (tan y) (tan z))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
28×associate-*l/
16×tan-quot
14×add-sqr-sqrt
13×add-exp-log add-cbrt-cube
12×frac-sub
10×add-cube-cbrt *-un-lft-identity
flip3-- flip--
pow1 associate-/l/
associate-*r* associate-*l* add-log-exp
expm1-log1p-u flip3-+ frac-add flip-+ log1p-expm1-u
times-frac prod-exp cbrt-unprod associate-/l*
cbrt-undiv frac-times associate-*r/ div-exp pow-prod-down associate-/r/ *-commutative unswap-sqr
sub-neg frac-2neg fma-neg diff-log div-sub prod-diff clear-num associate-/r* div-inv
Counts
4 → 102
Calls
4 calls:
22.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
11.0ms
(- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a)))
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))

series945.0ms

Counts
4 → 12
Calls
4 calls:
466.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
294.0ms
(- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a)))
91.0ms
(* (tan y) (tan z))
94.0ms
(* (tan y) (tan z))

simplify95.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
06881785
133131583
250011572

prune557.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize34.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan y) (tan z))
0.2b
(* (tan y) (tan z))
0.2b
(* (tan y) (tan z))
0.3b
(pow (* (tan y) (tan z)) 3)

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
16×tan-quot
13×pow1 add-exp-log add-cbrt-cube
11×add-cube-cbrt *-un-lft-identity
associate-*r* associate-*l*
expm1-log1p-u frac-times associate-*r/ pow-prod-down associate-*l/ prod-exp cbrt-unprod log1p-expm1-u add-log-exp
cube-div pow-unpow *-commutative unswap-sqr
pow-pow pow-exp rem-cube-cbrt
cube-mult pow-to-exp unpow-prod-down unpow3 cube-prod sqr-pow
Counts
4 → 96
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))
4.0ms
(pow (* (tan y) (tan z)) 3)

series403.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(* (tan y) (tan z))
93.0ms
(* (tan y) (tan z))
92.0ms
(* (tan y) (tan z))
125.0ms
(pow (* (tan y) (tan z)) 3)

simplify47.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0251512
11287497
25001496

prune594.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize37.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (tan y)) (cbrt (tan y)))
0.6b
(cbrt (tan y))
0.6b
(cbrt (tan y))
0.6b
(cbrt (tan y))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
tan-quot cbrt-div
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 frac-times pow-plus associate-*r/ associate-*l/ prod-exp *-commutative cbrt-unprod
Counts
4 → 87
Calls
4 calls:
8.0ms
(* (cbrt (tan y)) (cbrt (tan y)))
1.0ms
(cbrt (tan y))
1.0ms
(cbrt (tan y))
1.0ms
(cbrt (tan y))

series523.0ms

Counts
4 → 12
Calls
4 calls:
156.0ms
(* (cbrt (tan y)) (cbrt (tan y)))
118.0ms
(cbrt (tan y))
125.0ms
(cbrt (tan y))
124.0ms
(cbrt (tan y))

simplify74.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 3 (67.0ms)

IterNodesCost
0176527
1546490
22172458
35001454

prune582.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

regimes582.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04543
14943
24943

end0.0ms

sample4.9s

Algorithm
intervals
Results
3.0s3876×body1280valid
902.0ms2012×body640valid
341.0ms8000×pre80true
205.0ms682×body320valid
105.0ms1118×body80valid
63.0ms312×body160valid