Details

Time bar (total: 9.7s)

sample161.0ms

Algorithm
intervals
Results
85.0ms117×body1280valid
33.0ms76×body640valid
10.0ms256×pre80true
4.0ms13×body320valid
4.0ms43×body80valid
1.0msbody160valid

simplify26.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

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.3b

localize10.0ms

Local error

Found 3 expressions with local error:

0.2b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
2.9b
(tan (+ y z))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg tan-sum associate-+r+ diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 42
Calls
3 calls:
7.0ms
(+ x (- (tan (+ y z)) (tan a)))
7.0ms
(- (tan (+ y z)) (tan a))
3.0ms
(tan (+ y z))

series286.0ms

Counts
3 → 9
Calls
3 calls:
118.0ms
(+ x (- (tan (+ y z)) (tan a)))
117.0ms
(- (tan (+ y z)) (tan a))
50.0ms
(tan (+ y z))

simplify38.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune152.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan y) (tan z))
0.2b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.2b
(* (tan y) (tan z))

rewrite116.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
13×add-sqr-sqrt add-log-exp
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* associate-*l* sum-log distribute-lft-out
+-commutative sub-neg associate-+r+ flip3-+ diff-log flip-+ distribute-lft-out-- difference-of-squares
frac-times associate-+r- flip3-- times-frac associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp *-commutative frac-sub flip-- cbrt-unprod unswap-sqr
Counts
4 → 67
Calls
4 calls:
3.0ms
(+ (tan y) (tan z))
68.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
37.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))

series911.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(+ (tan y) (tan z))
336.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
386.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
94.0ms
(* (tan y) (tan z))

simplify74.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0367860
11074821
23057814
35001814

prune274.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize19.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (* (tan y) (tan z))) (cbrt (* (tan y) (tan z))))
9.6b
(cbrt (* (tan y) (tan z)))
9.6b
(cbrt (* (tan y) (tan z)))
9.6b
(cbrt (* (tan y) (tan z)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
44×tan-quot
33×cbrt-div
20×frac-times
14×associate-*r/ associate-*l/
11×pow1
10×add-sqr-sqrt
pow1/3
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
swap-sqr associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 82
Calls
4 calls:
19.0ms
(* (cbrt (* (tan y) (tan z))) (cbrt (* (tan y) (tan z))))
3.0ms
(cbrt (* (tan y) (tan z)))
3.0ms
(cbrt (* (tan y) (tan z)))
3.0ms
(cbrt (* (tan y) (tan z)))

series619.0ms

Counts
4 → 12
Calls
4 calls:
183.0ms
(* (cbrt (* (tan y) (tan z))) (cbrt (* (tan y) (tan z))))
142.0ms
(cbrt (* (tan y) (tan z)))
146.0ms
(cbrt (* (tan y) (tan z)))
148.0ms
(cbrt (* (tan y) (tan z)))

simplify103.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 3 (95.0ms)

IterNodesCost
0244840
1840757
23660682
35001676

prune411.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.1b

localize20.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
0.1b
(+ (tan y) (tan z))
0.2b
(+ (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (- (tan a)))
0.2b
(* (tan y) (tan z))

rewrite119.0ms

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity
17×add-sqr-sqrt
16×add-log-exp
15×add-cube-cbrt
12×times-frac
11×distribute-lft-out
10×tan-quot
add-exp-log add-cbrt-cube
sum-log
pow1
flip3-+ frac-add flip-+ associate-/l*
associate-*r* associate-*l* associate-/r* associate-/l/
+-commutative distribute-rgt-neg-in neg-log associate-/r/ distribute-neg-frac
cbrt-undiv neg-sub0 frac-times associate-+r- associate-+l+ flip3-- frac-2neg associate-*r/ div-exp unsub-neg pow-prod-down associate-*l/ prod-exp clear-num *-commutative flip-- cbrt-unprod div-inv unswap-sqr
Counts
4 → 94
Calls
4 calls:
10.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
3.0ms
(+ (tan y) (tan z))
98.0ms
(+ (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (- (tan a)))
5.0ms
(* (tan y) (tan z))

series739.0ms

Counts
4 → 12
Calls
4 calls:
213.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
93.0ms
(+ (tan y) (tan z))
342.0ms
(+ (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (- (tan a)))
90.0ms
(* (tan y) (tan z))

simplify51.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04961217
118981161
250011139

prune337.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

regimes245.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02322
12322

end0.0ms

sample4.9s

Algorithm
intervals
Results
3.0s3795×body1280valid
875.0ms2017×body640valid
305.0ms8000×pre80true
221.0ms723×body320valid
111.0ms1170×body80valid
63.0ms295×body160valid